docker / cli

The Docker CLI
Apache License 2.0
4.83k stars 1.9k forks source link

Profile specification for docker stack deploy #3178

Open k1rill-fedoseev opened 3 years ago

k1rill-fedoseev commented 3 years ago

Currently, it is possible to specify a specific set of profiles to run, when using docker compose:

docker compose --profile p1 --profile p2 up

It would be nice to have such ability in the docker stack CLI as well, something like:

docker stack deploy -c docker-compose.yml --profile p1 --profile p2 app

would work fine.

albertvveld commented 2 years ago

Would really like to see this work!