Skip to content

Can I run sysbox in a already existing container that is not privileged? #880

Closed Answered by ctalledo
John-Ao asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @John-Ao,

Is it still possible to run sysbox in that container so that I can run another container

Yes, as long as the container that Sysbox is running in is a privileged container (e.g., docker run --privileged ...). In addition, you also need to mount some host dirs into the container.

In fact, to test Sysbox, we run it inside such a privileged container. You can see the docker run command we use to create the privileged container here. You would need to do something similar.

If the underlying container is not privileged, then there's currently no way to run Sysbox in it unfortunately.

Hope that helps!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ctalledo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants