forked from extern/podman-compose
847f01a6c6
Add a simple docker-compose.yml test to use the x-podman extension with uidmaps and gitmaps
15 lines
250 B
YAML
15 lines
250 B
YAML
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" |