Skip to content

engine: fix ipv6 example for Compose#18119

Merged
aevesdocker merged 1 commit intodocker:mainfrom
milas:ipv6-compose-example
Sep 7, 2023
Merged

engine: fix ipv6 example for Compose#18119
aevesdocker merged 1 commit intodocker:mainfrom
milas:ipv6-compose-example

Conversation

@milas
Copy link
Copy Markdown
Contributor

@milas milas commented Sep 6, 2023

Proposed changes

Fixed the example for creating an IPv6 network in Compose YAML.

See https://github.com/compose-spec/compose-spec/blob/796804a634e4a1fd48a70f0b0b0e02f1a3a97890/06-networks.md#L168-L196

(Note: there's a typo there too, which is being fixed as well. The indentation is wrong, but the description of the fields/hierarchy is correct.)

Related issues (optional)

See https://github.com/compose-spec/compose-spec/blob/796804a634e4a1fd48a70f0b0b0e02f1a3a97890/06-networks.md#L168-L196

(Note: there's a typo there too, which is being fixed as
compose-spec/compose-spec#417. The indentation is wrong, but the
description of the fields/hierarchy is correct.)

Signed-off-by: Milas Bowman <[email protected]>
@netlify
Copy link
Copy Markdown

netlify Bot commented Sep 6, 2023

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 4fcf3b9
🔍 Latest deploy log https://app.netlify.com/sites/docsdocker/deploys/64f901d7081ca100093b1a27
😎 Deploy Preview https://deploy-preview-18119--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@milas
Copy link
Copy Markdown
Contributor Author

milas commented Sep 6, 2023

I think we might want to cross-link to this guide from the Compose docs, and perhaps have a link back to https://docs.docker.com/compose/compose-file/06-networks/ here? 😇

(cc @aevesdocker as Compose 🧙🏻‍♀️)

@aevesdocker
Copy link
Copy Markdown
Contributor

Yes agreed! Will create follow up PRs for this. Muchas gracias @milas

@aevesdocker aevesdocker merged commit e0b1272 into docker:main Sep 7, 2023
milas added a commit to milas/docker-mailserver that referenced this pull request Sep 7, 2023
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants