enable ipv6 for docker (#19281)
This commit is contained in:
@ -68,6 +68,13 @@ KillMode=process
|
|||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
cat > /etc/docker/daemon.json <<EOF
|
||||||
|
{
|
||||||
|
"ipv6": true,
|
||||||
|
"fixed-cidr-v6": "2001:db8:1::/64"
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable --now /lib/systemd/system/docker.service
|
systemctl enable --now /lib/systemd/system/docker.service
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user