Follow up to #46924

It seems using `fe80::/64` causes `docker start` to fail with "Address
already in use". Try to change to a unique local address range instead.
This commit is contained in:
kennytm 2017-12-26 02:36:17 +08:00
parent 4a7c072fa6
commit 472a3c104b
No known key found for this signature in database
GPG Key ID: FEF6C8051D0E013C

View File

@ -194,7 +194,7 @@ before_install:
# they shouldn't exist, please revert once more official solutions appeared.
# see https://github.com/travis-ci/travis-ci/issues/8891#issuecomment-353403729
- if [ "$TRAVIS_OS_NAME" = linux ]; then
echo '{"ipv6":true,"fixed-cidr-v6":"fe80::/64"}' | sudo tee /etc/docker/daemon.json;
echo '{"ipv6":true,"fixed-cidr-v6":"fd9a:8454:6789:13f7::/64"}' | sudo tee /etc/docker/daemon.json;
sudo service docker restart;
fi