mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-29 02:57:51 +00:00
Based on the initial port in https://github.com/containers/quadlet/pull/41 This contains the unit tests and the testcases from the C code as well as modification to the podman spec file based on what the quadlet spec file looks like, producing a podman-quadlet subpackage. Signed-off-by: Alexander Larsson <alexl@redhat.com>
26 lines
704 B
Text
26 lines
704 B
Text
## assert-podman-args --user 1000:1001
|
|
|
|
## assert-podman-args --uidmap 0:100000:1000
|
|
## assert-podman-args --uidmap 1000:0:1
|
|
## assert-podman-args --uidmap 1001:101000:99000
|
|
## !assert-podman-args --uidmap 0:0:1
|
|
|
|
## assert-podman-args --gidmap 0:100000:1001
|
|
## assert-podman-args --gidmap 1001:0:1
|
|
## assert-podman-args --gidmap 1002:101001:98999
|
|
## !assert-podman-args --gidmap 0:0:1
|
|
|
|
# Map container uid 1000 to host root
|
|
# This means container root must map to something else
|
|
|
|
[Container]
|
|
Image=imagename
|
|
User=1000
|
|
# Also test name parsing
|
|
HostUser=root
|
|
Group=1001
|
|
HostGroup=0
|
|
RemapUsers=yes
|
|
# Set this to get well-known valuse for the checks
|
|
RemapUidRanges=100000-199999
|
|
RemapGidRanges=100000-199999
|