enable ipv6 for docker (#19281)

This commit is contained in:
Jeff Biseda 2021-08-18 17:20:45 -07:00 committed by GitHub
parent 1d375ff2da
commit 5d380b24a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -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