From 5dd4992d23f7b60e69503b55cbdfd4693b3079f2 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 10 Nov 2023 09:18:31 +0300 Subject: Add documentation on connecting to container. --- README.org | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.org') 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: -- cgit v1.2.3