Virtualization Technology-docker Container-web UI Chapter

Source: Internet
Author: User
Tags docker run

Docker officially provides a Web UI interface to manage containers and mirrors, called: Shipyard

Modify the configuration file first

Vim/etc/sysconfig/docker

Add to:

other_args= "-H tcp://0.0.0.0:235-h unix:///var/run/docker.sock"

Note: Centos7 uses options="-H tcp://0.0.0.0:235-h unix:///var/run/docker.sock"

Restart:

/etc/init.d/docker restart

Perform:

To get a/data data volume:

Docker run-ti-d--restart=always--name shipyard-rethinkdb rethinkdb

To start rethinkdb with the/data data volume:

Docker run-ti-d-P 4001:4001-p 7001:7001--restart=always--name shipyard-discovery Microbo X/etcd-name Discovery

Agent:

Docker run-ti-d-P 2375:2375--hostname= $HOSTNAME--restart=always--name shipyard-proxy-v/var/run/docker.sock:/va R/RUN/DOCKER.SOCK-E port=2375 Shipyard/docker-proxy:latest

Main point:

Docker run-ti-d--restart=always--name shipyard-swarm-manager swarm:latest manage--host tcp://0.0.0.0:3375 etc d://<ip-of-host>:4001

To start the shipyard controller:

Docker run \

-ti \

-D \

--restart=always \

--name shipyard-controller \

--link shipyard-rethinkdb:rethinkdb \

--link shipyard-swarm-manager:swarm \

-P 8,080:8,080 \

Shipyard/shipyard:latest \

Server \

-D tcp://swarm:3375

then you can usehttp://localhost:8080visited the


Here is a Chinese version of the one-click installation method, is provided by community enthusiasts, Link: 1190000003995350?_ea=450409

I prefer the Chinese version of a key installation, because it is convenient ....

This article is from the "Linux" blog, so be sure to keep this source http://syklinux.blog.51cto.com/9631548/1860245

Virtualization Technology-docker Container-web UI Chapter

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.