hercules-ci / arion

Run docker-compose with help from Nix/NixOS
Apache License 2.0
667 stars 48 forks source link

Error: [...] is in state configured: container state improper #130

Open roberth opened 3 years ago

roberth commented 3 years ago

This happens with podman sometimes. I experience it after restarting my system. For example on arion up -d:

ERROR: for hercules_web_1  can only stop created or running containers. 4b3cabe1adea3a93279c36d4f6e079351fcdc1a72d7a473c968ab78e61f67bde is in state configured: container state improper

The workaround is to docker restart the offending container.

This is really a podman or NixOS/podman bug, but I figured posting the workaround here would be useful to someone.