Docker Container Learning grooming--web management tools (1)

Source: Internet
Author: User
Tags docker ps docker run

Dockerui Advantages:
1) Support container batch operation;
2) Support image management (albeit weak)

Dockerui Disadvantages:
Multiple hosts are not supported.

The following records the deployment process in the Dockerui management environment:
1) First pull the Dockerui mirror.
As follows:
[[email protected] ~]# Docker pull Uifd/ui-for-docker//Previous mirror location is Dockerui/dockerui

[email protected] ~]# Docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
Docker.io/uifd/ui-for-docker latest 965940f98fa5 6 months ago 8.096 MB

Docker.io/registry 2.2 ad379b517aa6 months ago 224.5 MB

2) Start the Dockerui container.
If the server has SELinux enabled, then the--PRIVILEGED flag must be used. Here I shut down selinux in this machine, so don't add--privileged
[Email protected] ~]# Docker run-it-d--name docker-web-p 9000:9000-v/var/run/docker.sock:/var/run/docker.sock D Ocker.io/uifd/ui-for-docker

[[email protected] ~]# Docker PS
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c078f0f41285 docker.io/uifd/ui-for-docker "/ui-for-docker" 4 seconds ago up 2 seconds 0.0.0.0:9000->9000/tcp Docker-web

[Email protected] ~]# Vim/etc/sysconfig/iptables
......
-A input-p tcp-m state--state new-m TCP--dport 9000-j ACCEPT

[Email protected] ~]# systemctl restart Iptables.service

Docker Container Learning grooming--web management tools (1)

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.