-
Notifications
You must be signed in to change notification settings - Fork 160
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
Fresh installation of Ubuntu 22.04 and Docker/Sysbox fails to create shim task #608
Comments
Sysbox seems to be running. I ran this command:
and this was the result:
|
Hi @SeanMXD, thanks for giving Sysbox a shot. Based on the error message I think you are likely hitting #596. That is, Sysbox uses a kernel module called Just to make sure, what's your kernel version (i.e., There is a work-around fortunately: you can tell Sysbox to not use In general, things work better with |
Hi @ctalledo! Thanks for the info, I will try that solution as soon as possible. This is the output of
|
what are the potential consequences of doing this work around. I'm hitting the same issue here |
Hi @SeanMXD, Without The chown slows down the container startup time a little bit. For a small container image (e.g., alpine, ubuntu, etc.) you won't notice it. For a larger container image (e.g., nestybox/k8s-node) you may notice a slow down of a few seconds (< 5 secs). The same occurs when the container stops, where Sysbox will revert the chown (unless the container was started with "--rm" meaning that it's going to be removed immediately after stop). Hope that helps. |
ok I tried adding adding --disable-shiftfs
it appears that a bunch of the files in /usr/bin and /bin are owned by I ran I also tried jammy with and without docker |
Hi @bijeebuss, likely the Inside the sysbox container, the
If it shows something with
NOTE: Do not pass it via the top-level sysbox service ( After this, make sure to reload it and restart sysbox:
More info here: https://github.com/nestybox/sysbox/blob/master/docs/user-guide/configuration.md#reconfiguration-procedure |
I think it worked because the container wouldn’t even start without disabling shiftfs. |
Oh Ok, I see it now on my side to when executing
I don't believe the problem is sysbox related, but rather a problem in the Maybe it's simply a matter of regenerating the nestybox/ubuntu-focal-systemd image from it's dockerfile to get the latest apt version and stuff? |
yup that fixed it thank you :) |
Hey @ctalledo and @bijeebuss! This is where I'm at so far. Sysbox service fails to start because of a dependency. Here is my terminal transcript below:
I cut out the part where I ran commands to shut down all of the containers, but I did that right here. I accidentally did this after running the previous two commands instead of before.
|
Hi @SeanMXD, The |
Hi @ctalledo, That worked! Thank you! |
I have a fresh installation of Ubuntu 22.04, Docker and Sysbox. I was trying to start a container with sysbox to test the new installation using this command:
$ sudo docker run --runtime=sysbox-runc -it ubuntu:latest
and this was the error:
Here is the core dump:
core.59640.tar.gz
The text was updated successfully, but these errors were encountered: