Skip to content

Instantly share code, notes, and snippets.

@CrackerHax
Last active June 20, 2020 01:26
Show Gist options
  • Save CrackerHax/2933d01d696f4a3129c5294765037278 to your computer and use it in GitHub Desktop.
Save CrackerHax/2933d01d696f4a3129c5294765037278 to your computer and use it in GitHub Desktop.
/etc/docker/daemon.json file for specifying multiple ip pools for having lots of docker containers
{
"default-address-pools":
[
{"base":"172.16.0.0/16","size":24},
{"base":"172.17.0.0/16","size":24}
]
}
@CrackerHax
Copy link
Author

CrackerHax commented Jun 20, 2020

If you have problems try this:

{
    "bip": "10.254.1.1/24",
    "default-address-pools":[{"base":"10.254.0.0/16","size":28}]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment