2022-01-17 15:56:05 +08:00
|
|
|
Collection of Dockerfiles
|
2024-04-04 12:39:43 +08:00
|
|
|
|
|
|
|
## docker on macvlan
|
|
|
|
On Linux, docker macvlan driver can be used to simplify routing. To create a macvlan network:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
docker network create -d macvlan --subnet=192.168.86.0/24 --ip-range=192.168.86.96/27 --gateway=192.168.86.1 -o parent=enp7s0f1 macvlan
|
|
|
|
```
|