I'm following this guide to configure docker-compose to use it on a different range by default:https://github.com/moby/moby/pull/29376
But this comes up:
unable to configure the Docker doker daemon with file /etc/docker/daemon.json: the following directives don't match any configuration option: default-address-pools
this is daemon.json file taken from the same repo
{
"default-address-pools": [
{
"scope": "local",
"base": "172.80.0.0/16",
"size": 24
},
{
"scope": "global",
"base": "172.90.0.0/16",
"size": 24
}
]
}
This is my setup
# uname -a
Linux gfn-classroom 4.4.0-109-generic #132-Ubuntu SMP Tue Jan 9 19:52:39 UTC
2018 x86_64 x86_64 x86_64 GNU/Linux
# docker --version
Docker version 17.12.0-ce, build c97c6d6
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial