1. Shipyard is a container graphics management system based on Docker API, supporting Container,images,engine,cluster and other functions to meet our basic container deployment requirements.
Shipyard is divided into manual deployment and automatic deployment.
Shipyard official Website Deployment Documentation 1.1, Datastore
Docker run \
-ti \
d \
--restart=always \
--name shipyard-rethinkdb \
rethinkdb
1.2, Discovery
Docker run \
-ti \
d \
p 4001:4001 \-
p 7001:7001 \
--restart=always \
--name Shipyard-discovery \
Microbox/etcd-name Discovery
1.3. Proxy
Docker run \
-ti \
d \
p 2375:2375 \
--hostname= $HOSTNAME \
--restart=always \
--name Shipyard-proxy \
-v/var/run/docker.sock:/var/run/docker.sock \-
e port=2375 \
shipyard/docker-proxy : Latest
1.4. Swarm Manager
Docker run \
-ti \
d \
--restart=always \
--name shipyard-swarm-manager \
swarm:latest \
Manage--host tcp://0.0.0.0:3375 etcd://<ip-of-host>:4001
1.5, Swarm Agent
Docker run \
-ti \
d \
--restart=always \
--name shipyard-swarm-agent \
swarm:latest \
Join--ADDR <ip-of-host>:2375 etcd://<ip-of-host>:4001
1.6. Controller
Docker run \
-ti \
d \
--restart=always \
--name shipyard-controller \
--link SHIPYARD-RETHINKDB:RETHINKDB \
--link shipyard-swarm-manager:swarm \-
p 8080:8080 \
shipyard/ shipyard:latest \
server \-
d tcp://swarm:3375
2, after the operation, we opened the browser did not enter Ip+port, access, account and password is Admin/shipyard, enter after the user and password can be set.