containers / containers/podman-compose

docker compose config – --profiles option not supported

Open
#1,052 3 comments 7 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
6.2k
Forks
622
PR merge metrics
No merged PRs in 30d

Description

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

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.