WEB APPLICATION FOR DOCKER

Dharmika D
2 min readAug 12, 2021

--

Now a days people are looking for a platform where they can run the container commands without installing required platforms.

With this requirement I have developed a web application for Docker (one of the great containerization tool). It provides Platform as a Service.

Here is the first , login page of the webapp….

This page takes input of username and password from user to make a secured login to run the commands.

Second , the docker port page where

After logging in , we land up in docker port page. This page allows user to “start a docker container” , “check the status of container” , “ stop running container” .

to start, stop and check the status of docker containers

Dropdown box display of available docker images

Dropdown box display to check status of docker containers

By using Python-cgi programming I had linked the input given in this page as command as the input to the terminal of my linux system giving it an authority of sudo to run and this cgi program will run the command on the behalf of user and give the output on the webpage .

Here are the results for the above commands…

🔰Docker images

🔰containers status

CODE AVAILABLE IN MY GITHUB REPOSITORY

GITHUB LINK: https://github.com/Dharmika228/docker-webportal

This task is done under guidance of my mentor Mr.Vimal Daga sir

THANK YOU!!😊

--

--

Dharmika D
Dharmika D

Written by Dharmika D

Technical blog writer | software enthusiast

No responses yet