Files
podman/pkg
Giuseppe Scrivano 192ad70e98 run: ignore PODMAN_USERNS with --pod
the combination --pod and --userns is already blocked.  Ignore the
PODMAN_USERNS variable when a pod is used, since it would cause to
create a new user namespace for the container.

Ideally a container should be able to do that, but its user namespace
must be a child of the pod user namespace, not a sibling.  Since
nested user namespaces are not allowed in the OCI runtime specs,
disallow this case, since the end result is just confusing for the
user.

Closes: https://github.com/containers/podman/issues/18580

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-05-17 16:49:16 +02:00
..
2023-05-16 23:04:09 +05:30
2022-11-19 16:26:00 +01:00
2022-12-15 13:39:56 +01:00
2023-03-07 18:28:39 +00:00
2022-11-01 13:57:24 +05:30
2022-09-20 15:34:27 -04:00
2023-02-11 18:23:24 +01:00
2022-12-15 13:39:56 +01:00
2022-09-10 07:52:00 -04:00
2023-05-02 10:30:07 -04:00
2023-04-26 10:20:10 -04:00
2022-11-04 10:57:41 -04:00
2023-05-09 13:35:54 +02:00
2022-10-17 09:19:41 +02:00