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