Comment on How Do I Completely Remove A Docker Container And All Dependencies?
danafest@lemm.ee 9 months ago
If you want to clear out any stopped containers, orphaned images, networks, etc run “docker system prune”
What I think is happening is there is a persistent volume mount that needs to be cleared out. If you’re using the docker run command with a -v flag, check the host path. It’s likely there are saved configurations you’re passing into the container.