summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-08-09 14:36:02 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-08-09 20:32:13 +0200
commit26af06b66b65354a46b2196d1c11c90168b7fa12 (patch)
tree1445620500abb0cd566fd721d6243b7457911762 /doc
parentf194df2bb44d61ed17222d4ac1b4bc739fdc3f97 (diff)
downloadguix-26af06b66b65354a46b2196d1c11c90168b7fa12.tar.gz
linux-container: container-script: Parse command line options.
* gnu/system/linux-container.scm (container-script): Accept command line
options to bind mount host directories into the container.
* doc/guix.texi (Invoking guix system): Document options.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 306c7b635b..896c830aeb 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -37500,6 +37500,10 @@ guix system container my-config.scm \
    --expose=$HOME --share=$HOME/tmp=/exchange
 @end example
 
+The @option{--share} and @option{--expose} options can also be passed to
+the generated script to bind-mount additional directories into the
+container.
+
 @quotation Note
 This option requires Linux-libre 3.19 or newer.
 @end quotation