Docker port is already allocated [How to Solve]

ps -aux | grep -v grep | grep docker-proxy The second column is the process number

Stop the doker process, delete all containers, then delete the file local-kv.db, and then start docker.

sudo service docker stop
docker rm $(docker ps -aq)
sudo rm /var/lib/docker/network/files/local-kv.db
sudo service docker start


But the docker of the entire machine will stop and some parts need to be started manually

Similar Posts: