浏览代码

Have docker command use $HOME instead of 'mary'

Signed-off-by: Andrew Kuklewicz <andrew@beginsinwonder.com>
Andrew Kuklewicz 10 年之前
父节点
当前提交
f9bb0afc6c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/sources/installation/mac.md

+ 1 - 1
docs/sources/installation/mac.md

@@ -234,7 +234,7 @@ The next exercise demonstrates how to do this.
 	
 5. Start a new `nginx` container and replace the `html` folder with your `site` directory.
 
-		$ docker run -d -P -v /Users/mary/site:/usr/share/nginx/html --name mysite nginx
+		$ docker run -d -P -v $HOME/site:/usr/share/nginx/html --name mysite nginx
 	
 6. Get the `mysite` container's port.