nsenter: Fix syntax for BusyBox
ContainerImages/cfg/pipeline/head This commit looks good Details

The `-a`/`--all` argument for `nsenter` is present in the *util-linux*
version of `nsenter`, but not the BusyBox version.  The latter is
present in Alpine, so we need to adjust our wrapper script to use
compatible syntax, which means explicitly listing the namespaces we want
to enter.
main
Dustin 2024-01-19 16:24:26 -06:00
parent e75f97cc8c
commit 47f36b3614
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
exec nsenter -a -t 1 "${0##*/}" "$@" exec nsenter -m -u -i -n -p -U -t 1 "${0##*/}" "$@"