Update networkingcontainers.md (#4132)

This commit is contained in:
Wang Jie 2017-08-11 06:07:01 +08:00 committed by Misty Stanley-Jones
parent 5b44477e18
commit 645a9aa056
1 changed files with 4 additions and 4 deletions

View File

@ -80,7 +80,7 @@ $ docker network inspect bridge
]
```
You can remove a container from a network by disconnecting the container. To do this, you supply both the network name and the container name. You can also use the container id. In this example, though, the name is faster.
You can remove a container from a network by disconnecting the container. To do this, you supply both the network name and the container name. You can also use the container ID. In this example, though, the name is faster.
$ docker network disconnect bridge networktest
@ -190,7 +190,7 @@ Docker networking allows you to attach a container to as many networks as you li
![bridge3](bridge3.png)
Open a shell into the `db` application again and try the ping command. This time just use the container name `web` rather than the IP Address.
Open a shell into the `db` application again and try the ping command. This time just use the container name `web` rather than the IP address.
$ docker exec -it db bash