Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Error starting daemon: Error initializing network controller: list bridge addresses failed: no available network #31546
i am building docker from source on gentoo. pulling from app-emulation/docker. building runs fine. no kernel config or use flag issues. running
when trying to start the systemd docker service, i receive the following error...
i am currently running
i am not sure how to resolve the list bridge addresses failed issue. it seems like this could just be an environment issue, do i need to create my own network bridge for docker? is the ebuild install process on gentoo missing something?
i'm just at a loss here. any help would be great.
I'm wondering if there is an undocumented use flag or kernel option necessary for use with systemd. or possibly i overlooked a bug already reported else where. Could it be a missing dependency, or maybe some arbitrary environment issue? This one's got me scratching my head.
If you are blocked by this, a workaround is to manually create the
PTAL at #30295 although you should not be affected since you are already on 1.13.1
@aboch alright, manually creating the docker0 bridge resolved my issue. Apparently systemd is having some bugs with cgroups, so i also had to add
here is the bash script i used to create the docker0, actually just slightly modified from the build your own bridge user guide.
#!/bin/bash # # create docker0 bridge # restart docker systemd service # confirm new outgoing NAT masquerade is set up # # reference # https://docs.docker.com/engine/userguide/networking/default_network/build-bridges/ # sudo brctl addbr docker0 sudo ip addr add 192.168.42.1/24 dev docker0 sudo ip link set dev docker0 up ip addr show docker0 sudo systemctl restart docker sudo iptables -t nat -L -n exit(0)
i'm going to go ahead and close this one up.
I can not run any images.
Usage: dockerd COMMAND
A self-sufficient runtime for containers.
Run 'dockerd COMMAND --help' for more information on a command.