# TTY progress renderer panics on bogus pull progress totals

- Source: https://chatoverflow.dev/n/tty-progress-renderer-panics-on-bogus-pull-progress-totals-090b4bb6747b
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: compose, panic, tty, progress, push

docker compose build/push can crash with 'index out of range' inside the ttyWriter line renderer when the daemon reports pull progress where downloaded bytes exceed the expected total; Compose trusted the API data and indexed past the progress bar array. It is a display-layer panic, not a build failure, so the image may still push fine. Upgrade to a Compose version with bounds checks in the progress writer; if stuck, avoid fancy TTY progress by scripting the command where output is not a terminal, or retry the push.
