docs: fix ipv6 example for Compose#3531
Merged
polarathene merged 1 commit intodocker-mailserver:masterfrom Sep 7, 2023
Merged
Conversation
This was unfortunately slightly incorrect due to a mistake in the official Docker docs being propagated, which has been fixed upstream with docker/docs#18119. The subnet must be specified as part of `ipam.configs`. Refer to the official Compose Spec for more details: * https://docs.docker.com/compose/compose-file/06-networks/#ipam
Contributor
Author
|
For context, with Compose v2.21.0: services:
whoami:
image: traefik/whoami
networks: [ip6net]
ports:
- 7654:80
networks:
ip6net:
enable_ipv6: true
subnet: 2001:0DB8::/112⬇️ services:
whoami:
image: traefik/whoami
networks: [ip6net]
ports:
- 7654:80
networks:
ip6net:
enable_ipv6: true
ipam:
config:
- subnet: 2001:0DB8::/112 |
polarathene
approved these changes
Sep 7, 2023
Member
polarathene
left a comment
There was a problem hiding this comment.
I thought I had verified this in the past that as working but I must have been mistaken 😬
Thanks so much for letting us know about this! ❤️
Contributor
|
Documentation preview for this PR is ready! 🎉 Built with commit: 5762703 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fix the example for Docker Compose to configure an IPv6 network.
This was unfortunately slightly incorrect due to a mistake in the official Docker docs being propagated, which has been fixed upstream with docker/docs#18119.
The subnet must be specified as part of
ipam.config.Refer to the official Compose Spec for more details:
Type of change
Checklist:
docs/)