spiegel_podman/pkg
Giuseppe Scrivano e015c9e3f7
podman: add uid and gid options to keep-id
add two new options to the keep-id user namespace option:

- uid: allow to override the UID used inside the container.
- gid: allow to override the GID used inside the container.

For example, the following command will map the rootless user (that
has UID=0 inside the rootless user namespace) to the UID=11 inside the
container user namespace:

$ podman run --userns=keep-id:uid=11 --rm -ti  fedora cat /proc/self/uid_map
         0          1         11
        11          0          1
        12         12      65525

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

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-08-30 14:39:27 +02:00
..
annotations fix a number of godot issues 2022-03-22 13:04:35 +01:00
api remote: fix implementation of build with --userns=auto for API 2022-08-26 16:53:40 +05:30
auth pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
autoupdate pkg/autoupdate: "image" policy: add deprecation comment 2022-08-04 13:07:58 +02:00
bindings remote: fix implementation of build with --userns=auto for API 2022-08-26 16:53:40 +05:30
channel pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
checkpoint pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
copy pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
criu Fix spelling of GetCriuVersion 2022-06-27 12:57:44 +01:00
ctime golangci-lint: enable nolintlint 2022-06-14 16:29:42 +02:00
domain infra: remove dead code 2022-08-30 14:39:27 +02:00
env Allow podman to run in an environment with keys containing spaces 2022-08-23 14:44:23 -04:00
errorhandling libpod/runtime: switch to golang native error wrapping 2022-07-04 15:39:00 +02:00
inspect pkg/inspect: remove unused ImageResult type 2022-05-24 16:07:39 +02:00
k8s.io add omitempty to Secret in k8s VolumeSource 2022-08-03 16:42:28 -04:00
lookup enable gocritic linter 2022-04-26 18:12:22 +02:00
machine Run codespell 2022-08-25 16:32:31 -04:00
namespaces podman: add uid and gid options to keep-id 2022-08-30 14:39:27 +02:00
parallel pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
ps libpod: switch to golang native error wrapping 2022-07-05 16:06:32 +02:00
rootless Don't warn on '/' not being shared while in a container 2022-08-15 10:28:29 -04:00
rootlessport go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
seccomp pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
servicereaper go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
signal Implement CatchAll and StopCatch in signal_common.go 2022-06-27 13:27:12 +01:00
specgen podman: add uid and gid options to keep-id 2022-08-30 14:39:27 +02:00
specgenutil Merge pull request #15434 from rhatdan/manifest1 2022-08-24 13:29:20 -04:00
systemd Run codespell 2022-08-25 16:32:31 -04:00
terminal podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
timetype enable gocritic linter 2022-04-26 18:12:22 +02:00
trust Preserve all unknown PolicyRequirement fields on (podman image trust set) 2022-08-25 01:52:59 +02:00
util podman: add uid and gid options to keep-id 2022-08-30 14:39:27 +02:00