Docker可视化管理工具shipyard安装

时间:2023-01-08 04:09:12

安装shipyard

curl -sSL http://dockerclub.net/public/script/deploy |  bash -s                      ==> 中文版
curl -sSL https://shipyard-project.com/deploy | bash -s ==> 英文版

如果出现错误,可以重新安装一遍

for i in `docker ps |sed '1d'| awk '{print $NF}'`;do docker rm -f $i; done
docker stop `docker ps -a -q`
docker rm `docker ps -a -q`
curl -s https://shipyard-project.com/deploy | bash -s

停止运行shipyard镜像

docker stop shipyard-proxy shipyard-certs shipyard-discovery shipyard-rethinkdb shipyard-swarm-agent shipyard-swarm-manager shipyard-controller

启动shipyard镜像

docker start shipyard-proxy shipyard-certs shipyard-discovery shipyard-rethinkdb shipyard-swarm-agent shipyard-swarm-manager shipyard-controller

查看docker进程

Mason:Desktop yangyue$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
de77fa33682e shipyard/shipyard:latest "/bin/controller -..." About a minute ago Up About a minute 0.0.0.0:8080->8080/tcp shipyard-controller
29a567ad74f6 swarm:latest "/swarm j --addr 1..." 2 minutes ago Up 2 minutes 2375/tcp shipyard-swarm-agent
51d9ff256ccd swarm:latest "/swarm m --replic..." 2 minutes ago Up 2 minutes 2375/tcp shipyard-swarm-manager
e9e7a2419d04 shipyard/docker-proxy:latest "/usr/local/bin/run" 2 minutes ago Up 2 minutes 0.0.0.0:2375->2375/tcp shipyard-proxy
06b50d73d307 alpine "sh" 2 minutes ago Up 2 minutes shipyard-certs
ba4f38091cee microbox/etcd:latest "/bin/etcd -addr 1..." 2 minutes ago Up 2 minutes 0.0.0.0:4001->4001/tcp, 0.0.0.0:7001->7001/tcp shipyard-discovery
94940a9c754d rethinkdb "rethinkdb --bind all" 2 minutes ago Up 2 minutes 8080/tcp, 28015/tcp, 29015/tcp shipyard-rethinkdb