From 0b0a147166a6dce75ab4e11f7428a77304ec76dc Mon Sep 17 00:00:00 2001 From: Mark Sta Ana Date: Fri, 17 Apr 2015 09:44:24 +0100 Subject: [PATCH] expand data container example --- ghost/content.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ghost/content.md b/ghost/content.md index 6de762f94..9eb86698b 100644 --- a/ghost/content.md +++ b/ghost/content.md @@ -18,10 +18,11 @@ If you'd like to be able to access the instance from the host without the contai Then, access it via `http://localhost:8080` or `http://host-ip:8080` in a browser. -You can also point the image to your existing content on your host +You can also point the image to your existing content on your host: docker run --name some-ghost -v /path/to/ghost/blog:/var/lib/ghost ghost -...or a data container +Alternatively you can use a data container + docker create --name some-ghost-data -v /var/lib/ghost ghost /bin/true docker run --name some-ghost --volumes-from some-ghost-data ghost