New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Comments
You can either mount a local directory or let docker create a new volume, which is like a directory but managed by docker.
This will mount the
/local/pathat/container/path.This will create a new volume named
fooand mount it at/container/path.All of this is documented at https://docs.docker.com/engine/tutorials/dockervolumes/
If you're using the offical
ghostimage, the correct path to mount in the container would be/var/lib/ghost.