Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update code example for pre-existing network #14851

Merged
merged 1 commit into from
May 30, 2022

Conversation

grappler
Copy link
Contributor

Proposed changes

"network default: network.external.name is deprecated in favor of network.name"

Update the code example to match the new syntax.

Related issues (optional)

Fixes #14683

@netlify
Copy link

netlify bot commented May 30, 2022

Deploy Preview for docsdocker ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 4f3bfc3
🔍 Latest deploy log https://app.netlify.com/sites/docsdocker/deploys/62947945320aa8000a69014a
😎 Deploy Preview https://deploy-preview-14851--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 settings.

Copy link
Contributor

@dockertopia dockertopia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@glours Could you PTAL? The sample code looks fine to me based on #13958. TWISIT accepting changes in this PR would revert that update.

@grappler
Copy link
Contributor Author

@dockertopia Thank you for your review. I don't see any reasoning why #13958 was made. It appears to be incorrect for me. My suggested change was previously applied here: #6124

Please see the related comment: docker-archive/compose-cli#1856 (comment)

@thaJeztah
Copy link
Member

Hmm.. yes, #13958 looks a bit odd indeed; I think the name field was added in compose schema 2.3 and 3.5 (through this PR: docker/compose#5448)

Copy link
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM regarding the Compose specification

@glours
Copy link
Contributor

glours commented May 30, 2022

@grappler Thanks for catching this one

Copy link
Contributor

@dockertopia dockertopia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @grappler. That was a good catch. Felt compelled to double check based on previous change to the file.

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.

Using 'external' marked as deprecated by Compose v2.5
4 participants