Shipyard
Shipyard


API
At the core of Shipyard is the API. (API Spec)
The API is used to manage everything in the cluster.
- Authorization
- Accounts
- Roles
- Containers
- Engines
- Service Keys
- Webhook keys
- Events
- Cluster Info
- Docker Hub
Quick Start
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/rethinkdb
3. Start the shipyard controller
$ docker run -it -p 8080:8080 -d --name shipyard \
--link shipyard-rethinkdb:rethinkdb shipyard/shipyard
Missing parts
shipyard에 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 restart
Web UI 로그인

default 생성 계정 ID/PW = admin/shipyard
Web UI 대신 shipyard-cli
다음과 같이 shipyard-cli 컨테이너를 띄우고 cli 이용
$ docker run --rm -it shipyard/shipyard-cli
Demo
1. Engine 추가 - docker host(daemon)
http://54.169.227.166:2375
2. Container 실행
docker host에 존재하는 image (exampleapp)
docker host에 없는 image (exampleapp2)
Other
Docker management tools
which provides a Web UI
- Panamax for CoreOS
- COCKPIT for Project Atomic
Shipyard
By Kwangyoung Kim
Shipyard
- 852