From 21c037c3279d1e007844482727ac4488df98781a Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 19 Apr 2023 22:49:45 +0200 Subject: [PATCH] Macvlan --- readme.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index ab51a05..e991aad 100644 --- a/readme.md +++ b/readme.md @@ -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 ```