Docker management tools and docker Management

Source: Internet
Author: User
Tags cadvisor

Docker management tools and docker Management
Shipyard

Is a Web-based Docker management tool that supports multiple hosts. It can manage containers on multiple Docker hosts in a unified manner, view images, or even build images, and provide RESTful APIs. To manage and control the Docker host, Shipyard needs to modify the default configuration on the Docker host to support remote management.

Get shipyard
docker pull shipyard/shipyarddocker pull shipyard/rethinkdb
Start a RethinkDB data volume instance
docker run -it -d --name shipyard-rethinkdb-data --entrypoint /bin/bash shipyard/rethinkdb -l 
Start the RethinkDB container containing the data volume
docker run -it -P -d --name shipyard-rethinkdb --volumes-from shipyard-rethinkdb-data shipyard/rethinkdb 
Shipyard
docker run -it -p 8080:8080 -d --name shipyard --link shipyard-rethinkdb:rethinkdb shipyard/shipyard 

After installation, enter http: // IP: 8080/in the browser to access

The username is admin and the password is shipyard.

 

Management Tool-cAdvisor

By default, the monitoring chart of the cAdvisor is refreshed once per second, displaying real-time data in the last minute. The aggregated and historical data are not displayed, and there is no threshold alarm function, in addition, it cannot monitor multiple Docker hosts at the same time. However, because it is simple and convenient, and has good real-time performance monitoring capabilities, it is suitable for performance monitoring and troubleshooting in special circumstances. Google's cAdvisor is free, open-source, and easy to implement. A container can be started on each Docker host through Web port monitoring.

# Docker run -- volume =/:/rootfs: ro -- volume =/var/run: rw -- volume =/sys: ro -- volume =/var/lib/docker/:/var/lib/docker: ro -- publish = 8082: 8082 -- detach = true -- name = cadvisor google/cadvisor: latest -- port = 8082


Some of the above parameters may be related to the host operating system, need to modify, refer to the official documentation: https://github.com/google/cadvisor

Because shipyard runs on port 8080 of the local machine, the cAdvisor is changed to port 8082 above. After running, access port 8082 of the local machine. The monitoring interface is displayed.

Http:/// IP: 8082

 

 

 

 

 

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.