-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Docker compose spams terminal while in progress #11254
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
From the issue that mentions this one, it sounds like other people are still experiencing this. But for me, I've swapped computers and I'm no longer getting the spam in Ubuntu 22.04.4 LTS on Windows 11. |
This issue has been automatically marked as not stale anymore due to the recent activity. |
I just ran into this tonight while running It seems like the issue in this case is due to having docker-compose.ymlservices:
unbound:
image: gibsonsoft/unbound-full
pull_policy: never
build:
context: .
args:
ALPINE_VERSION: 3.20.2
CORE_BUILD_DEPS: >
gcc
libgcc
make
musl-dev
linux-headers
perl
OPENSSL_BUILD_DEPS: >
gnupg
UNBOUND_BUILD_DEPS: >
protobuf-c-dev
expat-dev
expat-static
libevent-dev
libevent-static
libsodium-dev
libsodium-static
nghttp2-dev
nghttp2-static
hiredis-dev
flex
bison
RUNTIME_DEPS: >
drill
OPENSSL_OPGP_1: EFC0A467D613CB83C7ED6D30D894E2CE8B3D79F5 # OpenSSL OMC
OPENSSL_OPGP_2: 7953AC1FBC3DC8B3B292393ED5E9E43F7DF9EE8C # Richard Levitte
OPENSSL_OPGP_3: 8657ABB260F056B1E5190839D9C4D26D0E604491 # Matt Caswell
OPENSSL_OPGP_4: B7C1C14360F353A36862E4D5231C84CDDCC69C45 # Paul Dale
OPENSSL_OPGP_5: A21FAB74B0088AA361152586B8EF1A6BA9DA2D5C # Tomas Mraz
OPENSSL_SHA256: 777cd596284c883375a2a7a11bf5d2786fc5413255efab20c50d6ffe6d020b7e
OPENSSL_SOURCE: https://www.openssl.org/source/
OPENSSL_VERSION: 3.3.1
UNBOUND_SHA256: e7dca7d6b0f81bdfa6fa64ebf1053b5a999a5ae9278a87ef182425067ea14521
UNBOUND_SOURCE: https://nlnetlabs.nl/downloads/unbound/
UNBOUND_VERSION: 1.21.0
|
In case it helps others, setting the COMPOSE_ANSI env var to never ( It is the env var equivalent of
I personally would love to see I imagine something like this (first one is success case, second one is error case):
-or-
|
Description
When running commands like
docker compose start
,stop
,up
,down
, and maybe others, my terminal gets spammed with lines that are normally just overwritten. I don't know enough to say whether it's just one of these again, but feel free to close this if it's a duplicate:Steps To Reproduce
Create a new folder with a docker-compose.yml file like so:
Run
docker compose up -d
. (I chose detached to avoid mixing the log information from nginx mongo with the test results).Compose Version
Docker Environment
Anything else?
As noted in the kernel version, I am running Ubunti in WSL2 on Windows. Specifically Windows 10 Enterprise edition 22h2 with wsl verion 2.0.9.0. I installed docker and the docker compose plugin from the download.docker.com repo as described in this article.
If I downgrade, 2.17.2 is the earliest version I see listed for me that has the same issue. 2.16.0 does not have this issue.
The text was updated successfully, but these errors were encountered: