podman-compose
podman-compose copied to clipboard
docker compose config – --profiles option not supported
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 (https://github.com/containers/podman-compose/issues/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
i think you need to use quote ("") for the profile name. my example is "all"
podman-compose --profile "all" up
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.
This would be a big help, thanks.