Docker Swarm cluster graphical display tool visualizer installation and precautions __visualizer

Source: Internet
Author: User
Tags docker run docker swarm

# # Visualizer Very visually shows the container load on each Docker host in the Swarm cluster,

# # Shipyard and Visualizer will take 8080, 5000 ports
# # should be planned, avoid the use of these two ports, I in the code should be 8088 ports
# # The following code has been tested properly

# # The Access address in this example: http://IP:8088

# # Run the following service creation command on the management node
Docker service create \
--name=viz \
--PUBLISH=8088:8080/TCP \
--constraint=node.role==manager \
--mount=type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock \
Manomarks/visualizer


# # or run the following containers separately on the manager node:

Docker run-it-d-P 8088:8080-v/var/run/docker.sock:/var/run/docker.sock Manomarks/visualizer


Precautions:

1, to avoid port conflicts, the default is 8080, in this case I changed to 8088 ports.

2, used in the Docker 1.12.0 version of the cluster, without the cluster can not view the cluster information.

3, to install on the management node.


Reference URL: https://github.com/ManoMarks/docker-swarm-visualizer?hmsr=toutiao.io&utm_medium=toutiao.io&utm_ Source=toutiao.io

Reference URL: http://www.tuicool.com/articles/7fy6Nrm

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.