-
-
Save LnL7/e4a0d7cc2a90cdbb2d2ef2c36ab52b1f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo cntr attach -t command cntr-/nix/store/gcqpj041jll6qgq3cbkp73rbx1vjh96d-foo | |
$ cd /var/lib/cntr | |
% ls | |
bin build dev etc nix proc run tmp var | |
% ls build | |
env-vars | |
$ cntr exec bash | |
bash-4.4$ pwd | |
/ | |
bash-4.4$ cd /build | |
bash-4.4$ ls -la | |
total 17 | |
drwx------ 2 nixbld nixbld 80 Apr 25 18:58 . | |
drwxr-x--- 11 nobody nixbld 11 Apr 25 18:59 .. | |
-rw-r--r-- 1 nixbld nixbld 5 Apr 25 18:58 .attr-0 | |
-rw-r--r-- 1 nixbld nixbld 3690 Apr 25 18:58 env-vars | |
bash-4.4$ exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment