mirror of
https://github.com/AuxXxilium/arv-v-dsm.git
synced 2024-11-23 23:10:58 +07:00
Macvlan
This commit is contained in:
parent
e4e8147e12
commit
21c037c327
@ -128,7 +128,9 @@ docker run -it --rm -p 5000:5000 --device=/dev/kvm --cap-add NET_ADMIN --stop-ti
|
||||
--ip-range=192.168.0.100/28 \
|
||||
-o parent=eth0 vdsm
|
||||
```
|
||||
Modify these values to match your local subnet. And change the docker network of the container from `bridged` to `vdsm` in your compose file:
|
||||
Modify these values to match your local subnet.
|
||||
|
||||
Next change the containers network in your compose file:
|
||||
|
||||
```
|
||||
networks:
|
||||
@ -136,11 +138,11 @@ docker run -it --rm -p 5000:5000 --device=/dev/kvm --cap-add NET_ADMIN --stop-ti
|
||||
ipv4_address: 192.168.0.100
|
||||
```
|
||||
|
||||
And add the following to the very bottom of your compose file:
|
||||
And add the same network to the very bottom of your compose file:
|
||||
|
||||
```
|
||||
networks:
|
||||
vlan:
|
||||
vdsm:
|
||||
external: true
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user