Add a docker-compose test file for uidmaps/gidmaps

Add a simple docker-compose.yml test to use the x-podman extension with
uidmaps and gitmaps
This commit is contained in:
waechtjn 2022-06-04 14:35:38 +01:00 committed by Muayyad Alsadi
parent e511e6420f
commit 847f01a6c6

View File

@ -0,0 +1,15 @@
version: "3.7"
services:
touch:
image: busybox
command: 'touch /mnt/test'
volumes:
- ./:/mnt
user: 999:999
x-podman:
uidmaps:
- "0:1:1"
- "999:0:1"
gidmaps:
- "0:1:1"
- "999:0:1"