-
Notifications
You must be signed in to change notification settings - Fork 14
Cambiar la Subnet que usa Docker por defecto
linux8a edited this page Nov 7, 2022
·
1 revision
Edita el daemon.json
y agregarle estas lineas:
{
"bip": "10.200.0.1/24",
"default-address-pools":[
{"base":"10.201.0.0/16","size":24},
{"base":"10.202.0.0/16","size":24}
]
}
Reiniciar el servicio docker:
service docker restart
o systemctl daemon-reload && systemctl restart docker
Referencia: https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file
Copyright © 2022