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.
今天迁移虚拟机,发现死活rabbitmq起不来,提示, ERROR: epmd error for host "****": timeout (timed out establishing tcp connection)
后来google发现,
https://gist.github.com/2522701
主机名和ip不匹配了,需要更改/etc/hosts
127.0.0.1 yournewhostname
ERROR: driver failed programming external connectivity on endpoint tcmking_nodeserver_1 (f9c36c0dee6a6970a194ffaf6a8b219718c458f04b8303c79b9495794187d2db): Bind for 0.0.0.0:3020 failed: port is already allocated
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
sudo docker run --hostname localhost -p 5674:5672 -p 15674:15672 --name test_rabbit90 tutum/rabbitmq
分类: LINUX
ERROR: epmd error for host "****": timeout (timed out establishing tcp connection)
后来google发现,
https://gist.github.com/2522701
主机名和ip不匹配了,需要更改/etc/hosts
127.0.0.1 yournewhostname