浏览代码

Run update.sh

Tianon Gravi 10 年之前
父节点
当前提交
9d7330fe6d
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      ghost/README.md

+ 8 - 0
ghost/README.md

@@ -24,6 +24,14 @@ 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:
+
+	docker run --name some-ghost -v /path/to/ghost/blog:/var/lib/ghost ghost
+
+Alternatively you can use a [data container](http://docs.docker.com/userguide/dockervolumes/) that has a volume that points to `/var/lib/ghost` and then reference it:
+
+	docker run --name some-ghost --volumes-from some-ghost-data ghost
+
 # Supported Docker versions
 
 This image is officially supported on Docker version 1.6.0.