Docker Community Forums

Share and learn in the Docker community.

Network id not found


I have a bug whith docker, when i restart my server my containers no longer see the docker network that I created (but the network exists with the right id)

OS: Unraid 6.8.3
Docker: 19.03.5

My docker network:

docker network create \
-o parent=virbr3-lab \
--driver macvlan \
--subnet \
--gateway \

My virbr3-lab network create with virsh (libvirt):

<network ipv6='yes'>
  <bridge name='virbr3-lab' stp='on' delay='0'/>
  <mac address='52:54:00:a7:8f:5b'/>
  <ip address='' netmask=''>
  <route address='' prefix='24' gateway=''/>

My error when i restart my server:

If you are attempting to add a container to an existing network that no longer exists, then you can use docker-compose up --force-recreate. I found this GitHub issues comment to be a helpful overview.

the error is indeed due to the fact that the docker network has as its parent the virtual network virsh because if I remove it the option

-o parent=virbr1-lab \

it’s working.

I cannot force it because I have this error with containers which are automatically created by another