nsenter: Fix syntax for BusyBox
ContainerImages/cfg/pipeline/head This commit looks good
Details
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
parent
e75f97cc8c
commit
47f36b3614
|
@ -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##*/}" "$@"
|
||||||
|
|
Loading…
Reference in New Issue