Tuesday, March 19, 2024
HomeDockerHow to install DockerUI on Linux

How to install DockerUI on Linux

Docker, a word is creating lot of impact in IT now a day, we were seen lot of things about docker. Here we see one more feature about docker, which helps us to maintain a docker images, containers and volumes in webUI. Little surprise, yes docker has web UI where we can maintain a docker stuffs. Will see more about it below.

Here will see quick steps to install a docker on various Linux flavors.

Installing Docker Engine

On Ubuntu/Fedora/CentOS/RHEL/Debian

This default docker script contains the all Linux distribution, which find current OS and install docker on the box, here is the easy commend to install on fedora and debian flavors

# curl -sSL https://get.docker.com/ | sh

On OpenSuse/SUSE Linux Enterprise

To install on OpenSuse/SUSE

# zypper in docker

On ArchLinux

To install on Arch Linux

# pacman -S docker

if we want to install docker from the Archlinux User Repository;

# yaourt -S docker-git

Starting Docker

Now we install docker successfully, here we go to start the docker container,

On SysVinit

# service docker start

On Systemd

# systemctl start docker

Installing DockerUI

Installing DockerUI is very simple as installing docker service. Just we need pull the appropriate dockerui form docker hub and run it inside a container.

# docker run -d –name my_dockerUI -p 9000:9000 –privileged -v /var/run/docker.sock:/var/run/docker.sock uifd/ui-for-docker

Where,

9000 – DockerUI default Port.

-p – map the default port

-v – using for specify the docker socket

–privileged – using for access hosts SELinux

–name – naming docker container

Once its run successfully we can check the container status in docker process state.

# docker ps

In output you can see my_dockerUI in output, you can make sure the status of container in status field.

Managing with DockerUI

Once dockerui is started we can do lot of thing in webUI like Create, start, pause, stop, remove and many activities docker container, volumes, and images.

To access the webUI, in browser type,

http://<<IP-ADDRESS>>:9000 or http://<<your hostname>>:9000

This doesn’t have any login credentials, we can login directly, if need we can configure using our web browser.

Create a Container

To create a container, we’ll need to go to the section named Images then, we’ll need to click on the image id which we want to create a container of. After clicking on the required image id, we’ll need to click on Create button then we’ll be asked to enter the required properties for our container. And after everything is set and done. We’ll need to click on Create button to finally create a container.

Stop a Container

To stop a container, we’ll need to move towards the Containers page and then select the required container we want to stop. Now, we’ll want to click on Stop option which we can see under Actions drop-down menu.

Pause and Resume

To pause a container, we simply select the required container we want to pause by keeping a check mark on the container and then click the Pause option under Actions. This is will pause the running container and then, we can simply resume the container by selecting Unpause option from the Actions drop down menu.

Kill and Remove

Like we had performed the above tasks, it’s pretty easy to kill and remove a container or an image. We just need to check/select the required container or image and then select the Kill or Remove button from the application according to our need.

RELATED ARTICLES
- Advertisment -

Most Popular

Recent Comments