mirror of
https://github.com/docker/cli.git
synced 2026-01-18 08:21:31 +03:00
Merge pull request #10948 from kookster/patch-1
Have docker command use $HOME instead of '/Users/mary' Upstream-commit: 66315f48e55ef2d82d4d9597041bd0e81f78b7ab Component: engine
This commit is contained in:
@@ -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