podman-compose icon indicating copy to clipboard operation
podman-compose copied to clipboard

Feature Request uidmap user

Open marcpawl opened this issue 4 years ago • 3 comments

How can I have "--uidmap user" in docker-compose.yml execued with podman-compose?

marcpawl avatar Aug 30 '20 20:08 marcpawl

Since version 3.7 the docker compose file specification allows defining extension properties on service roots in addition to the root. Something like:

version: '3.7'
services:
  web:
    x-podman:
      uidmaps:
        - 1000:1000:1

repomaa avatar Jan 29 '21 09:01 repomaa

I'm also interested in this feature. I added the configuration from @repomaa above to my compose YAML, but it's not making it to the podman command that compose runs.

nackd avatar Oct 05 '21 09:10 nackd

you can pass podman-compose --podman-args ... or podman-compose --podman-run-args ... or podman-compose --podman--start-args ...

I liked the idea of x-podman in yaml.

muayyad-alsadi avatar Oct 05 '21 11:10 muayyad-alsadi