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

docker compose config – --profiles option not supported #1052

Open
piotr-dobrogost opened this issue Oct 3, 2024 · 2 comments
Open

docker compose config – --profiles option not supported #1052

piotr-dobrogost opened this issue Oct 3, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@piotr-dobrogost
Copy link

piotr-dobrogost commented Oct 3, 2024

I'm trying to use podman-compose instead of docker-compose with PyCharm Python IDE which calls docker compose config with the option --profiles which results in the error:

 podman-compose: error: unrecognized arguments: --profiles
 Error: executing /usr/bin/podman-compose -f /home/piotr/projects/x/docker-compose.yml config --profiles: exit status 2

Could you please add support for docker compose config --profiles?
This option is described at https://docs.docker.com/reference/cli/docker/compose/config/#options.
This would complement support for --profile option added recently (#430).

[piotr@fedora]~% podman-compose --version       
podman-compose version 1.2.0
podman version 5.2.3

I'm on Fedora 41 with the following packages installed:

podman.x86_64          5:5.2.3-1.fc41
podman-compose.noarch  1.2.0-2.fc41
podman-docker.noarch   5:5.2.3-1.fc41

@piotr-dobrogost piotr-dobrogost added the bug Something isn't working label Oct 3, 2024
@piotr-dobrogost piotr-dobrogost changed the title --profiles option not supported docker compose config – --profiles option not supported Oct 3, 2024
@luan-dang-techlabs
Copy link

i think you need to use quote ("") for the profile name. my example is "all"

podman-compose --profile "all" up

@piotr-dobrogost
Copy link
Author

This is not about --profile option but another option called --profiles (plural, with "s" at the end) which is supposed to list all available profiles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants