mirror of
https://github.com/docker/docs.git
synced 2026-04-05 10:48:55 +07:00
Update work-with-networks.md (#2680)
Corrected a small formatting error.
This commit is contained in:
committed by
John Mulhausen
parent
7bed320b17
commit
fb4ff10d9d
@@ -596,7 +596,7 @@ are not on the same network.
|
||||
|
||||
The following example illustrates these points.
|
||||
|
||||
1. Create another network named `local_alias`
|
||||
1. Create another network named `local_alias`:
|
||||
|
||||
```bash
|
||||
$ docker network create -d bridge --subnet 172.26.0.0/24 local_alias
|
||||
@@ -648,7 +648,7 @@ The following example illustrates these points.
|
||||
4. Disconnect `container5` from the `isolated_nw` network. Attach to `container4`
|
||||
and try pinging `c5` and `foo`.
|
||||
|
||||
```
|
||||
```bash
|
||||
$ docker network disconnect isolated_nw container5
|
||||
|
||||
$ docker attach container4
|
||||
|
||||
Reference in New Issue
Block a user