aboutsummaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-11-10 09:18:31 +0300
committerFrederick Muriuki Muriithi2023-11-10 09:18:31 +0300
commit5dd4992d23f7b60e69503b55cbdfd4693b3079f2 (patch)
tree2c7a03eaf6d7435191aaab7b125916d2e24325e8 /README.org
parent6ec43bb23d54521b0c9161cff38ff42e024fa081 (diff)
downloadgn-machines-5dd4992d23f7b60e69503b55cbdfd4693b3079f2.tar.gz
Add documentation on connecting to container.
Diffstat (limited to 'README.org')
-rw-r--r--README.org6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.org b/README.org
index 6577b51..d770195 100644
--- a/README.org
+++ b/README.org
@@ -49,6 +49,12 @@ more details.
* Getting a Shell into the Container
+You can get a shell into the container with something like:
+
+#+BEGIN_SRC sh
+ sudo guix container exec 89086 /run/current-system/profile/bin/bash --login
+#+END_SRC
+
When you start the container, you can get a shell into the container using the
~nsenter~ command. You will need the process ID of the container, which your
can get with something like: