Shipyard--Docker visual management tool installation and configuration

Source: Internet
Author: User
Tags docker run
Image Preparation
Shipyard database used for data storage
Docker pull docker.io/rethinkdb
//Use Swarm to manage Docker cluster Docker pull
docker.io/ Swarm
//shipyard Mirror
Docker pull Docker.io/shipyard/shipyard
Install start rethinkdb
Docker run-ti-d \
 --restart=always \
 --name shipyard-rethinkdb \-
 p 8082:8080 \
 p 28015:28015 \
  
   -p 29015:29015 \
 -v/data/rethinkdb:/data \
 docker.io/rethinkdb:latest
  
--restart=always: Always restarts (set as required)-P 8,082:8,080: exposes 8082 ports for viewing RETHINKDB usage docker.io/rethinkdb:latest:rethinkdb mirroring

Keep 8082 port, can be viewed through the Web page rethinkdb usage, I install RETHINKDB host is 10.0.11.150, so access: http://10.0.11.150:8082 display as follows:

Swarm installation Start

We need to swarm the Docker single-body together to form a cluster, between the installation of swarm and the operation of the use of important, so a separate article, you can follow the steps to swarm installation and launch: Through the swarm to build a docker cluster. Start the Shipyard management tool

Docker run-ti-d \
--restart=always \
--name shipyard-controller \
--link shipyard-rethinkdb:rethinkdb \< C3/>--link shipyard-swarm-manager:swarm \-
p 8081:8080 \
docker.io/shipyard/shipyard:latest \
server-d tcp://swarm:3375

--link SHIPYARD-RETHINKDB:RETHINKDB: Association RETHINKDB Database Container, so RETHINKDB container starts before shipyard.

--link Shipyard-swarm-manager:swarm: Association swarm container.

Boot order

The RTHINKDB database and the swarm cluster are required for shipyard startup, so the boot order of the container is important, so it is best to start the container in the following boot order to avoid unnecessary problems.

RETHINKDB Database Container

Swarm Agent Node Container

Swarm Manager Container

Shipyard Container

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.