mirror of
https://github.com/containers/podman-compose.git
synced 2024-11-29 19:33:48 +01:00
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" |