Merge pull request #7453 from waldyrious/patch-1

docker-for-mac: make command line more intuitive
This commit is contained in:
Anne Henmi 2018-12-27 08:37:41 -07:00 committed by GitHub
commit 71ec9f5283
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -59,11 +59,11 @@ docker-machine version {{ site.machine_version }}, build 9ba6da9
...
```
2. Start a Dockerized web server. Like the hello-world image above, if the
2. Start a Dockerized web server. Like the `hello-world` image above, if the
image is not found locally, Docker pulls it from Docker Hub.
```bash
$ docker run -d -p 80:80 --name webserver nginx
$ docker run --detach --publish=80:80 --name=webserver nginx
```
3. In a web browser, go to `http://localhost/` to view the nginx homepage.