I am still learning docker networking so I still need some help.
I have reached the maximum amount of Docker containers of my host machine and have no free IP addresses for new containers.
For this I need to add another network to docker and I have found a post about that. I have to edit the /etc/docker/daemon.json file. But obviously it gets reset after a restart of the host machine.
Code
{
"default-address-pools": [
{
"base":"172.17.0.0/12",
"size":16
},
{
"base":"192.168.0.0/16",
"size":20
},
{
"base":"10.99.0.0/16",
"size":24
}
]
}
Alles anzeigen
My question: Do I now have to find a solution to make the above configuration permanent or if I also can create a network myself, how to add it to the default docker networks that docker knows it can use its IP addresses to create new containers.