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