mirror of
https://github.com/docker/cli.git
synced 2026-09-04 18:14:29 -05:00
Merge pull request #15278 from campoy/14558-break-long-command
Break long command to avoid cropping Upstream-commit: c26c1eb8bae50db90b8bbb58a6ff46e9bbf58ea8 Component: engine
This commit is contained in:
@@ -345,7 +345,8 @@ 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 $HOME/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