码迷,mamicode.com
首页 > 其他好文 > 详细

【解决问题】docker : Error response from daemon: removal of container ### is already in progress

时间:2020-10-12 20:33:40      阅读:38      评论:0      收藏:0      [点我收藏+]

标签:解决问题   code   auto   mac   ica   man   amd   machine   docker   

看到某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.

【解决问题】docker : Error response from daemon: removal of container ### is already in progress

标签:解决问题   code   auto   mac   ica   man   amd   machine   docker   

原文地址:https://www.cnblogs.com/chaos-li/p/13803514.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!