The user-defined bridge network is similar to the docker0 network it resides on the docker host, and the host acts as the network's gateway.In the next section I will build one such custom network.
Restart docker: systemctl restart docker.Įxecute the command docker network ls. This prefix will be assigned to the default docker bridge network, docker 0. Here's my version.Ĭreate a JSON file /etc/docker/daemon.json and write to it a key of ipv6 with a value of true and a key of fixed-cidr-v6 with a value of your chosen IPv6 prefix. The official docs are here, but I think they could have done a better job with this. ? TL DR? Video link at the foot of the page ?
#Docker network scope how to#
? Plus how to build three different v6 networks the default docker0 bridge network, a user-defined bridge network, and an IPvlan network with access to the public Internet. 6️⃣ Docker supports IPv6 addressing and IPv6 network builds.