I have tried the suggestions above but didn't work.
Then
docker system prune -a
, it didn't work the first timedocker system prune -a
. This time it works. It will send a warning message and in the end ask "Are you sure you want to continue? y/n? . Ans:y . It will time a time and in the end the dead containers are gone.docker ps -a
IMPORTANT - this is the nuclear option as it destroys all containers + images