Have docker command use $HOME instead of 'mary'
Signed-off-by: Andrew Kuklewicz <andrew@beginsinwonder.com> Upstream-commit: f9bb0afc6c37ea5b6f2d413474c5dcbdd84259f1 Component: engine
This commit is contained in:
committed by
Andrew Kuklewicz
parent
d3f0aa2c72
commit
27d91a55a2
@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user