Commit Graph

3 Commits (c068619c8a07cf7b9a25bd52c504ada606faf10a)

Author SHA1 Message Date
Dustin c068619c8a nsenter: Do not enter user namespace
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.
2024-01-19 16:29:38 -06:00
Dustin 47f36b3614 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.
2024-01-19 16:24:26 -06:00
Dustin 7cefbd30b6 Initial commit
ContainerImages/cfg/pipeline/head This commit looks good Details
2024-01-17 14:07:31 -06:00