Update network-tutorial-macvlan.md

This commit is contained in:
Damian Łysiak 2018-11-22 22:07:58 +01:00 committed by GitHub
parent 3263452bec
commit 395557124d
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