-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Optimize for Sysbox #61
Comments
Lines I can change when using Sysbox:
- exec dind dockerd
+ exec dockerd I can also probably remove these 2 files at initialization: docker-images/devcontainer/scripts/prepare_image.sh Lines 114 to 115 in 28a99ee
With |
@ctalledo, I was waiting to be able to run sysbox myself to verify whether sysbox-runc would inject any environment variable to make it easy for me to detect whether the container is running with sysbox or not, but there's no extra variable. Do you have any idea on whether this can be accomplished? (without having to mount the docker socket and inspecting the container on host for the runtime). |
Hi @felipecrs,
Yes I think in general we avoid inserting env variables into the container because we want it to resemble a clean Linux host environment as much as possible. One easy way to detect if the container is running with Sysbox is to look for |
That's sufficient for sure. Thank you very much. |
With Sysbox, there is no need for the dind hack.
The text was updated successfully, but these errors were encountered: