Skip to content
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

Help for making cntr work in nixos #315

Open
leiserfg opened this issue Apr 13, 2024 · 1 comment
Open

Help for making cntr work in nixos #315

leiserfg opened this issue Apr 13, 2024 · 1 comment

Comments

@leiserfg
Copy link

I added cntr and I'm trying to run use it with a breakpointHook in nixos, but I get

sudo cntr attach -t command cntr-/nix/store/02p9zkkq9mvxvdrnmviwdl0ifiq0ms7h-sudachi-vedd7896                      !
cannot create container mountpoint /var/lib/cntr: No such file or directory (os error 2) 

no idea why because the /var/lib/cntr directory exists.

@fidgetingbits
Copy link

I've just run into this as well. The first attempt to attach to the build container hangs indefinitely (and leaves what seems to be an unkillable cntr process). Subsequent attempts to attach throw the same error mentioned above. Haven't debugged further yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants