docker-compose restart connection pool full

后端 未结 4 2750
我寻月下人不归
我寻月下人不归 2021-02-20 02:28

My team and I are converting some of our infrastructure to docker using docker-compose. Everything appears to be working great the only issue I have is doing a restart it gives

4条回答
  •  半阙折子戏
    2021-02-20 03:16

    For future readers. A small addition to the answer by @andriy-baran You need to stop all containers, delete them and them run network prune (because the prune command removes unused networks only)

    So something like this:

    docker kill $(docker ps -q)
    docker rm $(docker ps -a -q)
    docker network prune
    

提交回复
热议问题