mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Have docker command use $HOME instead of 'mary'
Signed-off-by: Andrew Kuklewicz <andrew@beginsinwonder.com>
This commit is contained in:
parent
05ba127f06
commit
f9bb0afc6c
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue