Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request uidmap user #228

Closed
marcpawl opened this issue Aug 30, 2020 · 3 comments
Closed

Feature Request uidmap user #228

marcpawl opened this issue Aug 30, 2020 · 3 comments

Comments

@marcpawl
Copy link

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

@repomaa
Copy link
Contributor

repomaa commented Jan 29, 2021

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

@nackd
Copy link

nackd commented Oct 5, 2021

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.

@muayyad-alsadi
Copy link
Collaborator

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.

waechtjn added a commit to waechtjn/podman-compose that referenced this issue Jun 4, 2022
Implement an x-podman extension on the level of the individual services
to handle `--uidmap` and `--gidmap`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants