systemctl reload docker
systemctl restart docker
ip6tables -t nat -A POSTROUTING -s fd00::/80 ! -o docker0 -j MASQUERADE
netstat -plnt
Created
March 20, 2021 17:17
-
-
Save pablodgonzalez/ee4001a96ae68189956c42ff3197ca34 to your computer and use it in GitHub Desktop.
Enable docker IPv6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/docker/daemon.json | |
{ | |
"ipv6": true, | |
"fixed-cidr-v6": "fd00::/80" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
networks: | |
odoo_net: | |
enable_ipv6: true | |
driver_opts: | |
com.docker.network.enable_ipv6: "true" | |
ipam: | |
driver: default | |
config: | |
- subnet: fd00::/80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment