转载于:https://www.cnblogs.com/xiaojikuaipao/p/5308745.html
DockerProblem
最新推荐文章于 2025-12-11 23:29:47 发布
本文提供了解决Docker启动时遇到的网络初始化错误的方法,包括删除默认桥接网络、重新启动Docker守护进程等步骤,同时分享了处理rabbitmq服务启动问题的经验,涉及修改/etc/hosts文件中主机名与IP的映射。
1251







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