Open ericslandry opened 1 year ago
Issue is perfectly valid, but then the question is: what would be a reasonable behavior when terminal height is not large enough for the amount of services we want to show progress details ?
I don't know if that question was rhetorical, but I'll share my 2 cents. 😁
There are two solutions that I would find very acceptable.
[+] Running 39/40 Networks (2), Volumes (6), Created (4), Waiting (1), Healthy (27), Exited (2)
I'm obviously very open to other solutions too.
As a work-around I've found when I set the --parallel
to 2
it is a lot less chaotic. However, it will take longer to build your project, so that might not be useful for most.
Would it also not be possible to change the 'sort' order for the containers when being pulled, so that the ones currently being pulled are on the bottom lines (and not off screen, as is the case currently with lots of services). So you can at least see what is happening? This won;t help you see how many more are left to be pulled, but is it a start.
+1
I comment to let you know that using Android JuiceSSH And docker-compose 2.17.2 this scroll spam still occurs
Issue is perfectly valid, but then the question is: what would be a reasonable behavior when terminal height is not large enough for the amount of services we want to show progress details ?
is it impossible to allow scrolling? I'll admit I have no experience with how TUI works normally, but is it not possible to treat the output as you would any webpage and allow scrolling when the contents are too tall for the window?
I would love to see a plaintext version come back with inline text updates, only output text on complete changes.
@ITJamie docker compose --progress=plain up ...
will show plain text state messages
Description
The output of
docker compose up
overwhelms my terminal when mycompose.yaml
's container count exceeds the terminal height.Steps To Reproduce
compose.yaml
file with this content:services: svc_a: <<: default-service svc_b: <<: default-service depends_on: svc_a: condition: service_healthy svc_c: <<: default-service depends_on: svc_b: condition: service_healthy svc_d: <<: default-service depends_on: svc_c: condition: service_healthy svc_e: <<: default-service depends_on: svc_d: condition: service_healthy svc_f: <<: default-service depends_on: svc_e: condition: service_healthy svc_g: <<: default-service depends_on: svc_f: condition: service_healthy svc_h: <<: default-service depends_on: svc_g: condition: service_healthy svc_i: <<: default-service depends_on: svc_h: condition: service_healthy svc_j: <<: default-service depends_on: svc_i: condition: service_healthy svc_k: <<: default-service depends_on: svc_j: condition: service_healthy svc_l: <<: default-service depends_on: svc_k: condition: service_healthy
Docker Environment
Anything else?
Issue created as requested by @ndeloof from over here https://github.com/docker/compose/issues/8800#issuecomment-1422640358