diff options
| author | Carlo Zancanaro <carlo@zancanaro.id.au> | 2025-09-23 15:34:55 +1000 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-11-13 21:55:42 +0100 |
| commit | 0f96ceb58fd886c75f607cf6c540ae2ae361b70e (patch) | |
| tree | 9e3d1622915f199ebeb689b38bdafbe9cc019e6b /doc | |
| parent | ca7de586054f7f3899b66fc8ba59d0bf6ab5b7db (diff) | |
gnu: Add --pid-file option to "guix system container" scripts.
* gnu/system/linux-container.scm (container-script): Accept pid-file command
line option to write out the container's process ID.
* doc/guix.texi (Invoking guix system): Document new option.
Change-Id: I93e8a99b39c1dd831f116104bf92c723d96c9965
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/guix.texi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index ffc797ccf3c..272a1579ec5 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -47633,8 +47633,13 @@ The @option{--share} and @option{--expose} options can also be passed to the generated script to bind-mount additional directories into the container. +The generated script also supports the @option{--pid-file} option to +write the container process ID to a file. This can be used, along with +@command{guix container exec} to execute scripts within the container +(@pxref{Invoking guix container}). + @quotation Note -This option requires Linux-libre 3.19 or newer. +The @code{container} action requires Linux-libre 3.19 or newer. @end quotation @end table |
