datamongus
04/26/2024, 6:24 PMMarvin
04/26/2024, 6:24 PMdocker container prune
to remove stopped containers or docker system prune
to clean up all unused containers, networks, and images.
However, if Prefect does offer a built-in solution for this problem, it isn’t clearly documented or discussed in the GitHub issues I encountered, which suggests that this might not be a common feature.
To explore further or to get support on this specific issue with Prefect, I recommend reaching out to the Prefect community or checking the documentation directly, particularly the sections on Work Pools and Docker Worker, for any updates or strategies other users have employed for container cleanup.