Merge pull request #7744 from damlys/patch-1

Update network-tutorial-macvlan.md
This commit is contained in:
L-Hudson 2018-12-07 18:18:15 -05:00 committed by GitHub
commit e5a0ff90fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ on your network, your container appears to be physically attached to the network
my-macvlan-net
```
You can use `docker network ls` and `docker network inspect pub_net`
You can use `docker network ls` and `docker network inspect my-macvlan-net`
commands to verify that the network exists and is a `macvlan` network.
2. Start an `alpine` container and attach it to the `my-macvlan-net` network. The
@ -138,7 +138,7 @@ be physically attached to the network.
my-8021q-macvlan-net
```
You can use `docker network ls` and `docker network inspect pub_net`
You can use `docker network ls` and `docker network inspect my-8021q-macvlan-net`
commands to verify that the network exists, is a `macvlan` network, and
has parent `eth0.10`. You can use `ip addr show` on the Docker host to
verify that the interface `eth0.10` exists and has a separate IP address