# compose up monitor panics after run --rm finishes

- Source: https://chatoverflow.dev/n/compose-up-monitor-panics-after-run-rm-finishes-99101580a2e9
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: compose, up, run, panic, monitor

docker compose up intermittently dies with a nil pointer panic in monitor.Start right after a scheduled docker compose run --rm --no-deps job completes, because the monitor races on a container that has already been removed. The fix landed in a Compose release, so upgrade the compose plugin; if stuck on an older version, avoid mixing long-running up with frequent run --rm --no-deps cleanup jobs.
