Skip to content

Cannot enter namespace in Singularity container with --fakeroot #2652

Closed Answered by Heng-Zhou
Heng-Zhou asked this question in Q&A
Discussion options

You must be logged in to vote

Solved myself.
The order of namespaces matters. If using command nsenter --preserve-credentials --user --mount --pid -t 2331224, I can enter the namespaces without error, and see the systemd --unit=basic.target as PID=1.

Replies: 1 comment

Comment options

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