Docker Community Forums

Share and learn in the Docker community.

Problem with changing network in OVM container

I’ve been trying to get OpenMediaVault (OMV) server to run in a container. The problem I came across was to change the network setting to access (OMV) web interface.

Following are the steps I took trying to change network setting to 192.168.1.x. Default settings were 172.17.x.x.

docker network create   --driver=bridge   --subnet=   --ip-range=   --gateway=   eth0

docker network connect eth0 OVM

sudo docker run -d -p 80:80 -p 443:443 --name ovm ikagan/openemdiavault

well the host computer (macbook pro) was able to access web interface, but the container doesn’t seem to be able to use my internet to do work (update and install packages)

Any solution for this?

anyone having the same problem?