I have the same problem. None of the mentioned solutions worked. I tried editing the file /lib/systemd/system/docker.service . The line with “ExecStart” looked like this:
ExecStart=/usr/bin/dockerd -H fd:// $DOCKER_OPTS
So I added bip
parameter:
ExecStart=/usr/bin/dockerd -bip=192.168.3.1/24 -H fd:// $DOCKER_OPTS
When I restart the docker service, I get the following error:
$ sudo systemctl daemon-reload
$ sudo systemctl restart docker
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
When I check the details, I get: “Error starting daemon: Error initializing network controller: Error creating default “bridge” network: failed to check bridge interface existence: numerical result out of range”.
What can I do to solve this problem?