runabol / tork

A distributed workflow engine
https://tork.run
MIT License
599 stars 40 forks source link

Fixed remove volume bug #229

Closed runabol closed 1 year ago

runabol commented 1 year ago

Error message:

Error response from daemon: remove aa16c17221124040986e1f432f3ae74e: volume is in use - [80106858a623d44b43e5640d34289eb22a0c6eb3bedb6b223f22f84aa92b0c24]

The root cause was not tracking the container ID after it was created but rather after it was started.

This led to not deleting the volumes and the container when the task exited if the container never actually started.