At the core of Shipyard is the API. (API Spec)
The API is used to manage everything in the cluster.
1. Start a data volume instance of RethinkDB
$ docker run -it -d --name shipyard-rethinkdb-data \
--entrypoint /bin/bash shipyard/rethinkdb -l
2. Start RethinkDB with using the data volume container
$ docker run -it -P -d --name shipyard-rethinkdb \
--volumes-from shipyard-rethinkdb-data shipyard/rethinkdb3. Start the shipyard controller
$ docker run -it -p 8080:8080 -d --name shipyard \
--link shipyard-rethinkdb:rethinkdb shipyard/shipyardshipyard에 docker daemon을 engine으로 추가하려면
아래 option을 주고 docker daemon을 실행시키자
/etc/default/docker file에 다음 option 추가
DOCKER_OPTS="$DOCKER_OPTS -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock"docker 재시작
$ sudo service docker restartdefault 생성 계정 ID/PW = admin/shipyard
다음과 같이 shipyard-cli 컨테이너를 띄우고 cli 이용
$ docker run --rm -it shipyard/shipyard-cli1. Engine 추가 - docker host(daemon)
http://54.169.227.166:2375
2. Container 실행
docker host에 존재하는 image (exampleapp)
docker host에 없는 image (exampleapp2)
which provides a Web UI