DockerProblem

if you try to run the daemon manually:
sudo /usr/bin/docker daemon

And the error is:
"FATA[0000] Error starting daemon: Error initializing network
controller: could not delete the default bridge network: network bridge
has active endpoints "

The solution is:
sudo rm -r /var/lib/docker/network

Start again docker daemon:
sudo service docker start

It worked for me. There was a problem with the bridge docker started.

sudo docker rmi    (image)

sudo docker rm     (container)

sudo docker save -o **.tar images

sudo docker load -i  **.tar 

 sudo docker run -it --name test_django -v /home/jiss/:/data --rm 127.0.0.1:5000/django bash 

时间: 2024-08-12 10:04:09

DockerProblem的相关文章