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
{{ message }}
Repository navigation
[Bug]: macOS 26.2, container 0.6.0; containers are always removed when they stop even though '--rm' was not specified #977
If possible, I've reproduced the issue using the 'main' branch of this project
Steps to reproduce
Any time I run (or create then start) a container, when it stops it disappears and is no longer found (ls -a does not show it, any attempt to reference it in a command says it cannot be found).
I would supply logs but since the container is not found I cannot.
This is especially problematic if the container does not start properly due to soem error, then it gets removed and so you cannot view the logs to find out anything about the error.
Current behavior
See above.
Expected behavior
Unless '--rm' is specified at create or run time, the container should remain after it has stopped.
Similar experience, I just "lost" a container that failed to start:
$ container start -ia test
Error: internalError: "failed to bootstrap container" (cause: "internalError: "failed to bootstrap container test (cause: "invalidState "container expected to be in created state, got: shuttingDown"") "")
$ container start -ia test
Error: notFound: "get failed: container test not found"
Activity
jglogan commentedon Dec 22, 2025
Can you provide specific reproduction steps for this?
Also, does this reproduce under 0.7.1?
ChrisJ60 commentedon Dec 22, 2025
I upgraded to 0.7.1 (what a palaver that was!)
What I see now is that if I successfully create a container, but then the 'start' for that container fails, the container gets removed.
Here is an example:
tfalamu commentedon Dec 30, 2025
Similar experience, I just "lost" a container that failed to start:
JaewonHur commentedon Jan 23, 2026
Very simple test case:
The container is lost.
Refactor container lifecycle functions to perform scoped rollback on …
Squashed commit of the following:
Squashed commit of the following: