Docker - Cannot remove dead container

后端 未结 20 1721
清歌不尽
清歌不尽 2020-12-22 16:28

I am unable to remove the dead container, it appears again after i restart the Docker service.

docker ps -a
CONTAINER ID         STATUS          
11667ef1623         


        
20条回答
  •  情深已故
    2020-12-22 17:13

    Most likely, an error occurred when the daemon attempted to cleanup the container, and he is now stuck in this "zombie" state.

    I'm afraid your only option here is to manually clean it up:

    $ sudo rm -rf /var/lib/docker//11667ef16239.../
    

    Where is the name of your driver (aufs, overlay, btrfs, or devicemapper).

提交回复
热议问题