dapurhosting.com Blog for Tech

January 21, 2022

docker network problem

Filed under: Docker — dh @ 7:04 pm

That’s not the same problem. Some container is using the network and is not removed.

Purge all containers (ALL, as in “removes all containers”):

docker-compose down
docker stop $(docker ps -a -q)
docker rm -f $(docker ps -a -q)
systemctl restart docker
docker-compose up -d

Powered by WordPress