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

Building devcontainer using gh actions hosted runners fail on docker newer than v23 #2331

Closed
hellt opened this issue Dec 5, 2024 · 0 comments · Fixed by #2336
Closed

Building devcontainer using gh actions hosted runners fail on docker newer than v23 #2331

hellt opened this issue Dec 5, 2024 · 0 comments · Fixed by #2336

Comments

@hellt
Copy link
Member

hellt commented Dec 5, 2024

The issue is raised against moby project - moby/moby#48987

It looks like something is off between gh action runners and the dpkg installer that causes the installation to fail, while it is not failing in the msft build pipelines on their runners.

Because of this dependency, the devcontainer we build is locked to moby v23.

As an alternative, I tried using the docker-ce package instead of moby, but then there was another skeleton awaiting -- devcontainers/features#1202. The docker-ce installation installs the correctly requested version, but then an update to the docker-compose package causes docker-ce and docker-ce-cli to be bumped to the latest available version.

You would ask, "hey, mate, why don't you then rock the latest docker-ce?" Fair question, the problem is then with the ip6_tables kernel module that docker-ce v27 sets up by default not being available in gh codespaces, which causes containerlab deploy to fail miserably. Another issue that I had to file - moby/moby#47895 (comment)
At least that issue got answered, which resulted in this devcontainers/features#1206

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant