mirror of https://github.com/docker/docs.git
Merge pull request #11717 from carehart/patch-4
help user view the container running
This commit is contained in:
commit
ae1b83413f
|
@ -103,6 +103,8 @@ docker run -p 80:80 nginx
|
|||
|
||||
After you've switched to the `myacicontext` context, you can use `docker ps` to list your containers running on ACI.
|
||||
|
||||
In the case of the demonstration nginx container started above, the result of the ps command will display in column "PORTS" the IP address and port on which the container is running. For example, it may show `52.154.202.35:80->80/tcp`, and you can view the nginx welcome page by browsing `http://52.154.202.35`.
|
||||
|
||||
To view logs from your container, run:
|
||||
|
||||
```console
|
||||
|
|
Loading…
Reference in New Issue