package/docker-engine: fix port forwarding for hosts without IPv6
authorPeter Korsgaard <peter@korsgaard.com>
Thu, 13 May 2021 21:03:51 +0000 (23:03 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 14 May 2021 20:59:49 +0000 (22:59 +0200)
commit2fd33900f50f6df058263582fba0b0e7c0367996
treef75d2440d70d9800753448a3277fa4585e0e01f7
parent6ad1c7f12e57ab7c6f022470e0aacec442d14267
package/docker-engine: fix port forwarding for hosts without IPv6

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):

- https://github.com/moby/libnetwork/pull/2635,
- https://github.com/moby/moby/pull/42322

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/docker-engine/0001-fix-port-forwarding-with-ipv6.disable-1.patch [new file with mode: 0644]