Skip to content

rootlesskit-docker-proxy: exit without error when port driver does not support v6 (fix Docker 20.10.6 + slirp4netns port driver)#249

Merged
AkihiroSuda merged 5 commits into
rootless-containers:masterfrom
AkihiroSuda:dev
Apr 15, 2021
Merged

rootlesskit-docker-proxy: exit without error when port driver does not support v6 (fix Docker 20.10.6 + slirp4netns port driver)#249
AkihiroSuda merged 5 commits into
rootless-containers:masterfrom
AkihiroSuda:dev

Conversation

@AkihiroSuda

@AkihiroSuda AkihiroSuda commented Apr 14, 2021

Copy link
Copy Markdown
Member

Fix #250 (regression in Docker 20.10.6)

The error only affects slirp4netns port driver users (non-default), not slirp4netns network driver users.

@AkihiroSuda

This comment has been minimized.

Signed-off-by: Akihiro Suda <[email protected]>
@AkihiroSuda AkihiroSuda changed the title CI: update Docker to v20.10.6 rootlesskit-docker-proxy: exit without error when port driver does not support v6 (fix Docker 20.10.6 + slirp4netns port driver) Apr 14, 2021
@AkihiroSuda

Copy link
Copy Markdown
Member Author

cc @thaJeztah

…t support v6

Fix issue 250

Signed-off-by: Akihiro Suda <[email protected]>
Signed-off-by: Akihiro Suda <[email protected]>
Signed-off-by: Akihiro Suda <[email protected]>
Signed-off-by: Akihiro Suda <[email protected]>
@AkihiroSuda
AkihiroSuda merged commit e75eb14 into rootless-containers:master Apr 15, 2021
@thaJeztah

thaJeztah commented Apr 15, 2021

Copy link
Copy Markdown
Contributor

@AkihiroSuda in this case, is it that the driver doesn't support IPv6, or the host? While this (generally) seems ok to do, if it's the latter (host doesn't support IPv6), I'm wondering if the docker daemon / libnetwork failed to detect if IPv6 can be used (and should not have attempted to publish on IPv6 in the first place)

@AkihiroSuda

AkihiroSuda commented Apr 15, 2021

Copy link
Copy Markdown
Member Author

in this case, is it that the driver doesn't support IPv6, or the host?

The driver.
More accurately, whether the driver accepts "tcp6"/"udp6" as the protocol string.

The builtin port driver (default) supports, slirp4netns port driver (non-default, even when the network driver is slirp4netns) does not.

@thaJeztah

Copy link
Copy Markdown
Contributor

Ah, thanks, so handling of dockerd is correct otherwise (and in the "non-rootless" case)?

@AkihiroSuda

Copy link
Copy Markdown
Member Author

Yes

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.

[regression in Docker 20.10.6] slirp4netns port driver fails: "Timed out proxy starting the userland proxy."

2 participants