Parando e removendo todos os containers Docker

Atila Augusto
Sep 3, 2018 · 1 min read

Resolvendo: Error response from daemon: conflict: unable to delete container-id (must be forced) — image is being used by stopped container container-id

um único container docker stop container-id
docker rm container-id
docker rmi image-id
todos os containerdocker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade