Docker does not release ports after stop and remove all container

前端 未结 1 973
独厮守ぢ
独厮守ぢ 2021-02-07 05:07

Docker doesn\'t release port binding after I stop and remove all of containers in my computer. Do you have any suggestion?

ricky@ricky-ubuntu:~$ sudo docker -v
Do         


        
相关标签:
1条回答
  • 2021-02-07 05:52

    If "docker-compose down" or stopping and removing containers didnt help, I quit docker, then check if the docker.backend is still running (com.docker.backend.exe for windows). Killing that service frees my ports.

    Another approach would be "reset to factory defaults" in settings. But that should be the last used solution till it removes everything you set up in Docker.

    0 讨论(0)
提交回复
热议问题