gizahNL / moby

Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
https://mobyproject.org/
Apache License 2.0
1 stars 1 forks source link

dockerd fails if the docker0 bridge hasn't been created first #3

Open kit-ty-kate opened 3 years ago

kit-ty-kate commented 3 years ago
# dockerd
[...]
failed to start daemon: Error initializing network controller: Error creating default "bridge" network: failed to check bridge interface esistence: route ip+net: no such network interface
# ifconfig bridge create name docker0
# dockerd
[success]

I tried to reboot the machine and tried to relaunch dockerd and it still didn't work. However once the ifconfig command was executed, dockerd worked and even after a reboot without having to relaunch the ifconfig command first.

If it helps here is what my /etc/pf.conf and /etc/rc.conf look like: scrn-2021-06-23-14-04-26