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

Install slirp4netns in dind rootless image #420

Closed
tgreeve opened this issue Apr 16, 2023 · 2 comments
Closed

Install slirp4netns in dind rootless image #420

tgreeve opened this issue Apr 16, 2023 · 2 comments

Comments

@tgreeve
Copy link

tgreeve commented Apr 16, 2023

When doing docker build in docker:dind-rootless, there is a strange problem which resolving github.com returns NXDOMAIN.

alpinelinux/docker-alpine#155

I encounter this problem in both K8S (EKS 1.23) container and MacOS Docker-Desktop (4.17.0). The problem can be resolved by replacing vpnkit with slirp4netns as the network bridge. However, slirp4netns binary isn't installed in the latest version of docker:dind-rootless image.

Is it possible to do a apk add slirp4netns in dind-rootless build?

@tianon
Copy link
Member

tianon commented Apr 17, 2023

Duplicate of #274

@tianon tianon marked this as a duplicate of #274 Apr 17, 2023
@tgreeve
Copy link
Author

tgreeve commented Apr 19, 2023

Thanks, seemingly the CVEs and license issues prevent slirp4netns from being included in dind-rootless image.

@tgreeve tgreeve closed this as completed Apr 19, 2023
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

No branches or pull requests

3 participants
@tianon @tgreeve and others