From 7036bea4fdce096932767ee986a265accde26aac Mon Sep 17 00:00:00 2001 From: Tibor Vass Date: Thu, 15 Dec 2016 17:57:48 -0800 Subject: [PATCH] Merge pull request #29466 from vieux/bump_1.12.5 bump to 1.12.5 (cherry picked from commit 7392c3b0ce0f9d3e918a321c66668c5d1ef4f689) Signed-off-by: Sebastiaan van Stijn Upstream-commit: 2a202ea4aad3a025f5e4e7785cc1830d4aca6ae3 Component: engine --- components/engine/CHANGELOG.md | 38 +++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/components/engine/CHANGELOG.md b/components/engine/CHANGELOG.md index 77033ca850..d799c7539e 100644 --- a/components/engine/CHANGELOG.md +++ b/components/engine/CHANGELOG.md @@ -241,6 +241,43 @@ To resolve this: After making those changes, run `sudo systemctl daemon-reload`, and `sudo systemctl restart docker` to reload changes and (re)start the docker daemon. +**NOTE**: Docker 1.12.5 will correctly validate that either an IPv6 subnet is provided or +that the IPAM driver can provide one when you specify the `--ipv6` option. + +If you are currently using the `--ipv6` option _without_ specifying the +`--fixed-cidr-v6` option, the Docker daemon will refuse to start with the +following message: + +```none +Error starting daemon: Error initializing network controller: Error creating + default "bridge" network: failed to parse pool request + for address space "LocalDefault" pool " subpool ": + could not find an available, non-overlapping IPv6 address + pool among the defaults to assign to the network +``` + +To resolve this error, either remove the `--ipv6` flag (to preserve the same +behavior as in Docker 1.12.3 and earlier), or provide an IPv6 subnet as the +value of the `--fixed-cidr-v6` flag. + +In a similar way, if you specify the `--ipv6` flag when creating a network +with the default IPAM driver, without providing an IPv6 `--subnet`, network +creation will fail with the following message: + +```none +Error response from daemon: failed to parse pool request for address space + "LocalDefault" pool "" subpool "": could not find an + available, non-overlapping IPv6 address pool among + the defaults to assign to the network +``` + +To resolve this, either remove the `--ipv6` flag (to preserve the same behavior +as in Docker 1.12.3 and earlier), or provide an IPv6 subnet as the value of the +`--subnet` flag. + +The network network creation will instead succeed if you use an external IPAM driver +which supports automatic allocation of IPv6 subnets. + ### Runtime - Fix race on sending stdin close event [#29424](https://github.com/docker/docker/pull/29424) @@ -252,7 +289,6 @@ systemctl restart docker` to reload changes and (re)start the docker daemon. ### Contrib - Fix compilation on Darwin [#29370](https://github.com/docker/docker/pull/29370) -- Use the selinux policy provided by docker-selinux on CentOS [#29377](https://github.com/docker/docker/pull/29377) ## 1.12.4 (2016-12-12)