Running rootless container inside systemd-nspawn #22010
Unanswered
carbolymer
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I think you can run add -v /proc:/proc tot he podman command to work around it. But this is not good if applications depend on a proper mounted /proc as this will mess things up. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to run a rootless container inside a systemd-nspawn container but I'm getting an eror:
Where running it rootful (inside systemd-nspawn container) it works just fine:
I have found this tip for nesting containers:
But I'm not sure how to unmask
/proc
for nspawn container:I've tried
Bind=/proc
in nspawn container configuration, but that just duplicates the amount of/proc
mount.podman system info output for nixos user
My nspawn configuration
Additional devices in systemd unit configuration
ExecStart override
Any tips would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions