mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-14 04:39:33 +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>
22 lines
503 B
Text
22 lines
503 B
Text
# No need for --user 0:0, it is the default
|
|
## !assert-podman-args --user
|
|
|
|
## assert-podman-args --uidmap 0:0:1
|
|
## assert-podman-args --gidmap 0:0:1
|
|
|
|
## assert-podman-args --uidmap 1:100000:100000
|
|
## assert-podman-args --gidmap 1:100000:100000
|
|
|
|
# Map container uid root to host root
|
|
|
|
[Container]
|
|
Image=imagename
|
|
User=0
|
|
# Also test name parsing
|
|
HostUser=root
|
|
Group=0
|
|
HostGroup=0
|
|
RemapUsers=yes
|
|
# Set this to get well-known valuse for the checks
|
|
RemapUidRanges=100000-199999
|
|
RemapGidRanges=100000-199999
|