March 2017
Beginner to intermediate
925 pages
18h 11m
English
By default, Docker assigns IPv4 addresses to containers. With Docker 1.5, a feature has been added to support IPv6 addresses.
Make sure the Docker daemon (version 1.5 and above) is running on the host and you can connect through the Docker client.
--ipv6 option, we can add this option in the daemon's configuration file (/etc/sysconfig/docker on Fedora) as follows:OPTIONS='--selinux-enabled --ipv6'
Alternatively, if we start Docker in daemon mode, then we can start it as follows:
$ docker -d --ipv6
By running either of these commands, Docker will set up the docker0 bridge with the IPv6 local link address fe80::1.
Read now
Unlock full access