fix port forwarding with ipv6.disable=1#42322
Closed
AkihiroSuda wants to merge 1 commit intomoby:masterfrom
Closed
fix port forwarding with ipv6.disable=1#42322AkihiroSuda wants to merge 1 commit intomoby:masterfrom
AkihiroSuda wants to merge 1 commit intomoby:masterfrom
Conversation
288abd4 to
8734fa7
Compare
Make `docker run -p 80:80` functional again on environments with kernel boot parameter `ipv6.disable=1`. Fix moby/moby issue 42288 Depends on moby/libnetwork PR 2635 Signed-off-by: Akihiro Suda <[email protected]>
8734fa7 to
9b7217f
Compare
buildroot-auto-update
pushed a commit
to buildroot/buildroot
that referenced
this pull request
May 14, 2021
docker-engine 20.10.6 broke container port forwarding for hosts without IPv6 support: docker: Error response from daemon: driver failed programming external connectivity on endpoint naughty_moore (038e9ed4b5ea77e1c52462d6d04ad001fbad9beb185a6511aadc217c8a271608): Error starting userland proxy: listen tcp6 [::]:80: socket: address family not supported by protocol. Add a libnetwork patch from an upstream pull request to fix this, after adjusting the patch to apply to docker-engine (which has libnetwork vendored under vendor/github.com/docker/libnetwork): - moby/libnetwork#2635, - moby/moby#42322 Signed-off-by: Peter Korsgaard <[email protected]>
buildroot-auto-update
pushed a commit
to buildroot/buildroot
that referenced
this pull request
May 17, 2021
docker-engine 20.10.6 broke container port forwarding for hosts without IPv6 support: docker: Error response from daemon: driver failed programming external connectivity on endpoint naughty_moore (038e9ed4b5ea77e1c52462d6d04ad001fbad9beb185a6511aadc217c8a271608): Error starting userland proxy: listen tcp6 [::]:80: socket: address family not supported by protocol. Add a libnetwork patch from an upstream pull request to fix this, after adjusting the patch to apply to docker-engine (which has libnetwork vendored under vendor/github.com/docker/libnetwork): - moby/libnetwork#2635, - moby/moby#42322 Signed-off-by: Peter Korsgaard <[email protected]> (cherry picked from commit 2fd3390) Signed-off-by: Peter Korsgaard <[email protected]>
This was referenced May 25, 2021
Member
Author
|
Carried as #42412 |
ulbricht-inr
pushed a commit
to InnoRoute/buildroot
that referenced
this pull request
Apr 23, 2022
docker-engine 20.10.6 broke container port forwarding for hosts without IPv6 support: docker: Error response from daemon: driver failed programming external connectivity on endpoint naughty_moore (038e9ed4b5ea77e1c52462d6d04ad001fbad9beb185a6511aadc217c8a271608): Error starting userland proxy: listen tcp6 [::]:80: socket: address family not supported by protocol. Add a libnetwork patch from an upstream pull request to fix this, after adjusting the patch to apply to docker-engine (which has libnetwork vendored under vendor/github.com/docker/libnetwork): - moby/libnetwork#2635, - moby/moby#42322 Signed-off-by: Peter Korsgaard <[email protected]> (cherry picked from commit 2fd3390) Signed-off-by: Peter Korsgaard <[email protected]>
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.
Marked as draft until moby/libnetwork#2635 gets merged
- What I did
Make
docker run -p 80:80functional again on environments with kernel boot parameteripv6.disable=1.Fix #42288
Fix docker/for-linux#1233
- How I did it
Skip listening on v6 addr when
net.Listen("tcp6", "[::1]:p")fails- How to verify it
Tested on Ubuntu 21.04 host.
ipv6.disable=1.docker run -p 80:80 nginx:alpinesucceeds. Previously, this was failing withError starting userland proxy: listen tcp6 [::]:80: socket: address family not supported by protocol.- Description for the changelog
fix port forwarding with ipv6.disable=1
- A picture of a cute animal (not mandatory but encouraged)
🐧