Angular, PWA, C#, ASP.NET, Node.js, Docker, React, IONIC, IoT & more …

Stop ‘Hung’ docker container with status=created


I have also encountered this a few times. What I did to stop the ‘hung’ container was –

  1. docker ps to display container ID
  2. net stop docker – stop docker engine (Note all containers will stop)
  3. Delete folder in c:\programdata\docker\containers whose name starts with the ID from step 1
  4. net start docker – start docker engine

Unfortunately the docker service still has to be stopped and started but at least I didn’t have to re-install.

NOTE: Above steps and process is for Windows Server.

Leave a comment