Docker commands do not respond anymore

后端 未结 4 627
青春惊慌失措
青春惊慌失措 2021-02-13 01:45

Most of docker commands never end. I have to interrupt them manually with CTRL+C. Even simple commands like docker ps or docker info do not respond.

4条回答
  •  醉酒成梦
    2021-02-13 02:31

    I just had a similar issue as well. Rebooting the server did not work for me. I got this issue, because I just installed a new container with some kind of errors. After that, most Docker commands did not respond. I fixed it by executing the following command:

    docker system prune -a
    

    This removes all unused containers. In my case also the container I just added. More information:

    https://docs.docker.com/engine/reference/commandline/system_prune/

提交回复
热议问题