Determining the list of profiles from a group of Compose documents currently requires using docker-compose config and parsing the output. However, determining the list of services can be done with simply docker-compose config --services, and they will be listed, one per line--no parsing required.
A docker-compose config --profiles equivalent would be helpful to avoid needing to parse anything, offering the same benefit as docker-compose config --services.
Determining the list of profiles from a group of Compose documents currently requires using
docker-compose configand parsing the output. However, determining the list of services can be done with simplydocker-compose config --services, and they will be listed, one per line--no parsing required.A
docker-compose config --profilesequivalent would be helpful to avoid needing to parse anything, offering the same benefit asdocker-compose config --services.