The Docker Engine default bridge network is conflicting with our internal network hosts access. How do I configure the default bridge (docker0
) network for Docker Engine to a different subnet?
You can configure the default bridge network by providing the bip
option along with the desired subnet in the daemon.json
(default location at /etc/docker/daemon.json
on Linux) file as follows:
{ "bip": "172.26.0.1/16" }
Then restart the docker daemon (sudo systemctl restart docker
on systemd based Linux operating systems).
Similar Posts:
- how to Install Docker CE and Docker Compose on Debian 10 / 11
- How to install docker on Debian 9 Stretch
- How to install docker on debian 10 /11 ( buster / bullseye )
- Installing Docker on Ubuntu-18.04!
- Docker: Launching a Container from an Image
1,689