docker 安装总结

来源:互联网 发布:sql round函数怎么用 编辑:程序博客网 时间:2024/06/06 05:06

Ubuntu 16.04(LTS)

简单方法

$ sudo apt-get update

$ sudo apt-get install docker




第一次安装Docker,运行hello-world 是可以的,

重启系统之后,运行hello-world 出现如下报错:

Cannot connect to the Docker daemon. Is the docker daemon running on this host?


多方查找,解决如下:
sudo su -                       //切换到root
service docker start      //启动docker service
docker images              //显示所有images
docker run hello-world  //重新运行


===========不是很华丽的分割线==================== 

shipyard  官网地址:http://www.shipyard-project.com

部署方法,一样简单:

  curl http://dockerclub.net/deploy |  bash -s 

curl -sSL https://shipyard-project.com/deploy | bash-s  即可,当然你也可以逐个组件启动,不过要注意先后和link。下面有启动说明。


Shipyard available at http://192.168.81.238:8080
Username: admin Password: shipyard





0 0