Docker commands do not respond anymore

后端 未结 4 619
青春惊慌失措
青春惊慌失措 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:37

    I had the same problem (commands not responding) and I fix it by increasing the resources allocated to Docker.

    Docker Desktop -> Preferences -> Advanced

    In my case, I increased:

    • Memory from 2GB to 8GB
    • Swap from 1GB to 2GB

    Try different values according with your machine.

提交回复
热议问题