Open cavo789 opened 5 months ago
I tried reproducing this issue with docker CLI v26.1.2, and compose v2.27, and was not able to;
docker compose up -d --no-color
[+] Running 3/3
✔ Network myproject_default Created 0.0s
✔ Synchronized File Shares 0.0s
✔ Container myproject-web-1 Started 0.3s
Are you still seeing this issue?
I should mention that the output still uses color in that case though, which could be a bug in docker compose;
Description
Hi
I'm creating some automation script so I'm redirecting outputs to a log file. To keep the log clean, I'm using the
--no-color
flag as soon as it exists.By running
docker compose up --help
, I can see the presence of the flag:But by running
docker compose up -d --no-color
, I gotunknown flag: --no-color
.Reproduce
docker compose up -d --no-color
.The
--no-color
flag is well mentioned in the help but compose complaints aboutunknown flag
Expected behavior
The output of
docker compose up
should be monochrome; no use of ANSI colors.docker version
docker info
Additional Info
Thanks!