mirror of https://github.com/containers/podman.git
				
				
				
			
		
			
				
	
	
		
			27 lines
		
	
	
		
			704 B
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			704 B
		
	
	
	
		
			Plaintext
		
	
	
	
## 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
 |