You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
❯ docker compose up --help
Usage: docker compose up [OPTIONS] [SERVICE...]
Create and start containers
Options:
[...]
--no-color Produce monochrome output.
[...]
But by running docker compose up -d --no-color, I got unknown flag: --no-color.
Reproduce
docker compose up -d --no-color.
The --no-color flag is well mentioned in the help but compose complaints about unknown flag
Expected behavior
The output of docker compose up should be monochrome; no use of ANSI colors.
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
Client: Docker Engine - Community Cloud integration: v1.0.35-desktop+001 Version: 24.0.5 API version: 1.43 Go version: go1.20.6 Git commit: ced0996 Built: Fri Jul 21 20:35:45 2023 OS/Arch: linux/amd64 Context: default Server: Docker Desktop Engine: Version: 24.0.5 API version: 1.43 (minimum version 1.12) Go version: go1.20.6 Git commit: a61e2b4 Built: Fri Jul 21 20:35:45 2023 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.21 GitCommit: 3dce8eb055cbb6872793272b4f20ed16117344f8 runc: Version: 1.1.7 GitCommit: v1.1.7-0-g860f061 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Additional Info
Thanks!
The text was updated successfully, but these errors were encountered: