Using the Docker UI

Source: Internet
Author: User
Tags docker run docker registry

1, the Docker UI introduction:

Description: Docker is becoming more and more popular. Running a full operating system in a container instead of a virtual machine is a great technique and an idea. Docker has saved thousands of system administrators and developers by saving hours of work. This is an open source technology that provides a platform for packaging, distributing, sharing, and running applications as containers instead of focusing on what operating systems are running on the host. It does not have the limitations of developing a language, framework, or packaging system, and can be run at any time, anywhere, from small computers to high-end servers

Running Docker containers and managing them can take a little effort and time, so there is now a Web-based application-dockerui that makes it easy to manage and run containers. Dockerui is a useful tool for people who are unfamiliar with the Linux command line but who want to run a containerized program. Dockerui is an open-source web-based application, and its most commendable is its gorgeous design and simple interface for running and managing Docker.


2. The following describes how to install configuration Dockerui on CentOS6.


Installing Dockerui is much easier than installing Docker. We just need to pull the Dockerui from the Docker registry and run it inside the container. To accomplish this, we simply need to execute the following command:

[email protected] ~]# Docker search Dockerui

NAME DESCRIPTION STARS Official automated
Dockerui/dockerui A Web interface to interact with the Docke ... 108 [OK]
Crosbymichael/dockerui Docker run-d Crosbymichael/dockerui/dock ... 26
Abh1nav/dockerui an updated version of Crosbymichael/docker ... [OK]
Madhavkobal/dockerui Docker Updated Version has Search, pull ... 7
Hypriot/rpi-dockerui an ARM compatible Docker image of https://... 6
Microbox/dockerui Trusted Automated Dockerui image (16MB size) 5
Linki/rpi-dockerui Dockerui for your rpi2 5
Rpidockers/dockerui 2
Fardok/dockerui CentOS 7 Docker Web UI from Crosbymichael 1
Cloudaku/dockerui 0 [OK]
Atandock/dockerui 0 [OK]
Elegoev/dockerui Dockerui image based on Crosbymichael/dock ... 0 [OK]
Bettse/dockerui Fork of Crosbymichael/dockerui 0
Yungsang/dockerui Docker API version:v1.8 UI version:v0.4 ... 0
Sidd/dockerui Dockerui 0
Rediceli/dockerui Dockerui with Nginx for basic auth 0
Devalih/dockerui to Run:docker pulling Devalih/dockerui do ... 0
Biibds/dockerui 0
Pemcconnell/dockerui 0
Eternitech/dockerui 0
Unws/dockerui Dockerui is a web interface for the Docker ... 0 [OK]
C0710204/dockerui 0 [OK]
Wansc/dockerui 0 [OK]
Allincloud/dockerui 0 [OK]
Sigmonsays/dockerui 0 [OK]

Run a container in the background:

[email protected] ~]# Docker run-d-P 9000:9000--privileged-v/var/run/docker.sock:/var/run/docker.sock Dockerui/dock Erui

Note:
In the above command, the default port used by Dockerui is 9000, and we need to map the default port using the-P command. Using the-V flag we can specify the socket for Docker. If the host uses SELinux then the--PRIVILEGED flag must be used.


3, after the execution of the above command, we want to check whether the Dockerui container is running, or use the following command to check:

[[email protected] ~]# docker ps container id         IMAGE                COMMAND             CREATED              STATUS               PORTS                     NAMESabc653e7d1a9         centos                "/bin/bash"          7 minutes ago        Up 7 minutes                                   wanlong             b2a9c0eefcb2         ubuntu                "/bin/bash"          9 minutes ago        Up 9 minutes                                   hungry_shockley     6bb2a2c2dcaa         dockerui/dockerui    "/dockerui"           31 minutes ago      Up  28 minutes   &Nbsp;   0.0.0.0:9000->9000/tcp   fervent_albattani 

Description: We can see the overall situation of Dokerui

Once the Dockerui container has been started, we can use it to perform the commands for starting, pausing, terminating, deleting, and other operations that Dockerui provide for the Docker container.


4. Other information

First, we need to open Dockerui in a Web browser: Enter http://ip-address:9000 or http://mydomain.com:9000 in the browser, depending on your system configuration.

Logins do not require authentication by default, but we can configure our Web server to require login authentication. To start a container, we need to have a mirror that contains the program we want to run.
We can see the various health conditions of Docker on the browser (the IP address of the test is 192.168.1.129, the port number of the map is 9000):
Http://192.168.1.129:9000/

Boot auto-start container: Docker run-d-P 9000:9000--privileged-v/var/run/docker.sock:/var/run/docker.sock--restart=always--name Dockerui_qinwen Dockerui/dockerui

650) this.width=650; "title=" Dockerui-01.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M01/7C/AE/ Wkiom1bwl-yipgtiaab5o47qpfg540.png "alt=" Wkiom1bwl-yipgtiaab5o47qpfg540.png "/>

650) this.width=650; "title=" Dockerui-02.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M02/7C/AD/ Wkiol1bwmgxyijyzaacfntnxlfk737.png "alt=" Wkiol1bwmgxyijyzaacfntnxlfk737.png "/>

650) this.width=650; "title=" Dockerui-03.png "style=" Float:none "src=" http://s1.51cto.com/wyfs02/M02/7C/AE/ Wkiom1bwl-2a3nazaacioit8fzu791.png "alt=" Wkiom1bwl-2a3nazaacioit8fzu791.png "/>

650) this.width=650; "title=" Dockerui-04.png "style=" Float:none "src=" http://s1.51cto.com/wyfs02/M00/7C/AE/ Wkiom1bwl-2dzsqwaab5uq4oabs805.png "alt=" Wkiom1bwl-2dzsqwaab5uq4oabs805.png "/>

650) this.width=650; "title=" Dockerui-05.png "style=" Float:none "src=" http://s5.51cto.com/wyfs02/M00/7C/AD/ Wkiol1bwmgbrniyqaac_q405cvg385.png "alt=" Wkiol1bwmgbrniyqaac_q405cvg385.png "/>

650) this.width=650; "title=" Dockerui-06.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M01/7C/AE/ Wkiom1bwl-_rm-raaab7gnmjj98115.png "alt=" Wkiom1bwl-_rm-raaab7gnmjj98115.png "/>



This article is from the "Frozen vs watermelon" blog, so be sure to keep this source http://molewan.blog.51cto.com/287340/1746562

Using the Docker UI

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.