Categories
Docker Microsoft PowerShell

docker : Error response from daemon: removal of container ### is already in progress

You run one of the following PowerShell commands to remove a container

Remove-NavContainer ###

or

docker rm ###

but you receive the following error message:

docker : Error response from daemon: removal of container ### is already in progress

with the result that you are unable to stop, kill or remove the Docker container. Even a restart does not fix this issue.

Solution 1:

  1. Run the PowerShell command net stop docker to stop docker-engine (Note all containers will stop)
  2. Delete the folder in C:\Programdata\docker\containers whose name starts with the ID from the error message (###)
  3. Run the PowerShell command net start docker to start docker-engine

Solution 2:

Restart the machine will restart docker-engine if it the service is set up to start Automatically.

Did my solution solve your problem? Leave a reply.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.