zoukankan      html  css  js  c++  java
  • 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 

    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
  • 相关阅读:
    for of 与 for in的区别
    Mac Item2 SSH免密登录Linux 服务器的两种方式
    组塞式,非阻塞式,同步异步
    Thrift_简介(基于C#)
    HTTP Error 500.22
    http协议
    IIS_部署出错
    JavaScript如何实现继承
    $(function(){})与 (function(){})() (function($){})() 的区别
    C#_反射机制
  • 原文地址:https://www.cnblogs.com/xiaojikuaipao/p/5308745.html
Copyright © 2011-2022 走看看