mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-12-14 14:20:32 +08:00
Macvlan
This commit is contained in:
@@ -130,7 +130,7 @@ docker run -it --rm -p 5000:5000 --device=/dev/kvm --cap-add NET_ADMIN --stop-ti
|
|||||||
```
|
```
|
||||||
Modify these values to match your local subnet.
|
Modify these values to match your local subnet.
|
||||||
|
|
||||||
Next change the containers network in your compose file:
|
Next change the containers configuration in your compose file:
|
||||||
|
|
||||||
```
|
```
|
||||||
networks:
|
networks:
|
||||||
@@ -138,7 +138,7 @@ docker run -it --rm -p 5000:5000 --device=/dev/kvm --cap-add NET_ADMIN --stop-ti
|
|||||||
ipv4_address: 192.168.0.100
|
ipv4_address: 192.168.0.100
|
||||||
```
|
```
|
||||||
|
|
||||||
And add the same network to the very bottom of your compose file:
|
And add the network to the very bottom of your compose file:
|
||||||
|
|
||||||
```
|
```
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user