nsenter: Do not enter user namespace
ContainerImages/cfg/pipeline/head This commit looks good
Details
ContainerImages/cfg/pipeline/head This commit looks good
Details
Running `nsenter` with `-U` fails: ``` nsenter: setns(): can't reassociate to namespace 'user': Invalid argument ``` This is probably because the container runs in the same user namespace as the host anyway, so it really doesn't matter.main
parent
47f36b3614
commit
c068619c8a
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
exec nsenter -m -u -i -n -p -U -t 1 "${0##*/}" "$@"
|
exec nsenter -m -u -i -n -p -t 1 "${0##*/}" "$@"
|
||||||
|
|
Loading…
Reference in New Issue