看到某github项目上有好多人提出了此问题,却没有解决。

最后找到一位外国网友解决了此问题:他的博客链接:https://www.myerrorsandmysolutions.com/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.

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
  • 2021-10-30
  • 2022-12-23
  • 2021-05-10
  • 2022-03-01
猜你喜欢
  • 2021-09-27
  • 2021-10-02
  • 2021-11-26
  • 2022-12-23
  • 2021-10-16
  • 2022-12-23
相关资源
相似解决方案