Created
August 25, 2017 10:42
-
-
Save govm/22cee6c0ca93e476bd99a3f37a876167 to your computer and use it in GitHub Desktop.
docker-compose ipv6
This file contains 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
version: '2.1' | |
services: | |
... | |
networks: | |
default: | |
driver: bridge | |
enable_ipv6: true | |
driver_opts: | |
com.docker.network.enable_ipv6: "true" | |
ipam: | |
driver: default | |
config: | |
- subnet: 172.20.0.0/16 | |
gateway: 172.20.0.1 | |
- subnet: 2001:x:y:z:0002::/80 | |
gateway: 2001:x:y:z:0002::1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment