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

Fail to build Docker containers when running containerd 1.7.24 #115

Open
spikecurtis opened this issue Dec 3, 2024 · 0 comments
Open

Fail to build Docker containers when running containerd 1.7.24 #115

spikecurtis opened this issue Dec 3, 2024 · 0 comments
Labels
blocked bug Something isn't working

Comments

@spikecurtis
Copy link

spikecurtis commented Dec 3, 2024

When the inner container uses Docker with containerd version 1.7.24, then Docker builds fail with

runc run failed: unable to start container process: error during container init: error mounting "proc" to rootfs at "/proc": mount src=proc, dst=/proc, dstFd=/proc/thread-self/fd/8, flags=0xe: no such file or directory

This appears to be an incompatibility between Sysbox and containerd.

Sysbox issue: nestybox/sysbox#879
Containerd Issue: containerd/containerd#11083

We should monitor these until a resolution is found and then upgrade our bundled sysbox if necessary.

Until this is resolved, envbox users should pin containerd at version 1.7.23 inside their workspace images.

For example, if your inner container uses APT, you can set up a pin (e.g. /etc/apt/preferences.d/containerd):

Package: containerd.io
Pin: version 1.7.23-1
Pin-Priority: 1001
@coder-labeler coder-labeler bot added bug Something isn't working help wanted Extra attention is needed labels Dec 3, 2024
@spikecurtis spikecurtis removed the help wanted Extra attention is needed label Dec 3, 2024
@bpmct bpmct added the blocked label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants