Modify these values to match your local subnet. And change the docker network of the container from `bridged` to `vdsm` in your run command or compose file:
Modify these values to match your local subnet.
Now change the containers configuration in your compose file:
```
networks:
vdsm:
ipv4_address: 192.168.0.100
```
And add the network to the very bottom of your compose file:
```
--network vdsm --ip=192.168.0.100
networks:
vdsm:
external: true
```
This also has the advantage that you don't need to do any portmapping anymore, because all ports will be fully exposed this way.