pyronear / pyro-platform

Detection & monitoring platform of wildfires
https://platform.pyronear.org/
Apache License 2.0
10 stars 10 forks source link

ci: Issue with rmi unused and dangling images #128

Closed Akilditu closed 9 months ago

Akilditu commented 9 months ago

Hi @frgfm there is an error caused deploy-dev job on release as you can see here

Trying to delete the current image running and then causing -->err: Error response from daemon: conflict: unable to delete a8d09517dc80 (cannot be forced) - image is being used by running container 7bd1a0897dd8

Shouldn't we use something like docker image prune -a ?

MateoLostanlen commented 9 months ago

maybe just remove the "-f" : https://github.com/pyronear/pyro-platform/pull/123#pullrequestreview-1712869038