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

 rabbitmq epmd error for host 2012-10-16 18:54:51

分类: LINUX

今天迁移虚拟机,发现死活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

DockerProblem的更多相关文章

随机推荐

  1. javascript 连等赋值问题(这是从SegmentFault转过来的一个问题)

    var a = {n:1}; var b = a; // 持有a,以回查 a.x = a = {n:2}; alert(a.x);// --> undefined alert(b.x);// - ...

  2. XSS attack

    <html> <form action="" method="post"> <input type="text" ...

  3. Install Sogoupinyin in Ubuntu

    If you use Ubuntu 15.10,search 'sogou' in Software Center.If you can see sogoupinyin there.You can g ...

  4. python内置数据类型-字典和列表的排序 python BIT sort——dict and list

    python中字典按键或键值排序(我转!)   一.字典排序 在程序中使用字典进行数据信息统计时,由于字典是无序的所以打印字典时内容也是无序的.因此,为了使统计得到的结果更方便查看需要进行排序. Py ...

  5. ElasticSearch入门系列(二)交互API

    一.基于HTTP协议,以JSON为数据交互格式的RESTful API 向ElasticSearch发出请求的组成部分与其他的普通的HTTP请求是一样的: curl -X<VERB> '& ...

  6. canvas三角函数直线运动

    var canvas = document.getElementById("canvas"); var cxt = canvas.getContext("2d" ...

  7. .net网站的文件上传读取进度条和断点下载

    文件上传到服务器时的进度读取 //调整上传配置 AdapterInfo(info); UpfileResult result = new UpfileResult(); try { //直接使用req ...

  8. poj1655 树的重心 树形dp

    树的重心定义为:找到一个点,其所有的子树中最大的子树节点数最少,那么这个点就是这棵树的重心,删去重心后,生成的多棵树尽可能平衡. 处理处每个节点的孩子有几个,和树的大小就好了. #include< ...

  9. HTTPS基本原理

    HTTPS基本原理 Xcode7上,默认采用的传输协议就是HTTPS,大家都知道HTTPS = HTTP + SSL,利用HTTPS协议传输的数据是加密的,更加安全.在此对概念性知识不再介绍.直接介绍 ...

  10. Sublime Text 3 python和Package Control配置方法

    (如果下面的方法试了Packages control功能还是不能用参考这个方法: 1.直接把C:\Sublime Text 3x64\Data\Packages\   目录下原有的Packages c ...