-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
Description
Is your feature request related to a problem? Please describe.
docker-compose run prints info on images it pulls which makes it difficult to grab the output when used in shell scripts.
Describe the solution you'd like
docker-compose up has a flag --quiet-pull to disable printing that information. I'd like the same flag on run please.
Describe alternatives you've considered
Pulling then running, but it's easy to forget if you've already pulled the image but are using this on e.g. a CD system that hasn't pulled it yet. Then extra garbage gets added to your captured stdout (e.g. when doing name=$(docker-compose run bash print-name.sh))
Also, it seems to print to stdout, so redirecting 2>/dev/null doesn't seem to work.
Reactions are currently unavailable