Docker not able to identify default-address-pool

0 votes

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
Apr 20, 2018 in DevOps & Agile by Atul
• 10,240 points
3,285 views

2 answers to this question.

0 votes

the pull request was not merged. it was closed. This feature is not available in docker yet.

answered Apr 20, 2018 by DareDev
• 6,890 points
0 votes

The pull request is merged in https://github.com/moby/moby/pull/36396 and hopefully will be available in 18.06

answered Aug 7, 2018 by Kalgi
• 52,350 points

Related Questions In DevOps & Agile

0 votes
1 answer

Why am I not able to re-deploy after moving 3 apps into one folder ?

The error that you are getting i.e., app ...READ MORE

answered Aug 9, 2018 in DevOps & Agile by Damon Salvatore
• 5,980 points
663 views
+3 votes
4 answers

Unable to build docker image

It looks like the dev dependencies were ...READ MORE

answered Oct 11, 2018 in DevOps & Agile by lina
• 8,220 points

edited Oct 17, 2018 by lina 5,858 views
+1 vote
2 answers

How do I run Apache server from Docker without mapping to a location?

If you're seeing a 500 error, that's ...READ MORE

answered Oct 18, 2018 in DevOps & Agile by lina
• 8,220 points
2,226 views
0 votes
1 answer

Is it possible to to create IIS Site and application Pool using Web Deploy

You can try and use the ServerManager ...READ MORE

answered Apr 20, 2018 in DevOps & Agile by ajs3033
• 7,300 points
2,067 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,020 points
2,739 views
+13 votes
2 answers
0 votes
1 answer

alert manager not working properly in prometheus

This is the default functionality of the ...READ MORE

answered Apr 10, 2018 in DevOps & Agile by DareDev
• 6,890 points
1,515 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP