# Docker GUI using JavaScript

Today we are going to develop Docker GUI (Web Application) made with HTML, CSS and JavaScript through which we can run following docker commands:

- docker images : shows downloaded docker images
- docker pull: Download Container Image
- docker ps : Shows list of running and launched docker containers
- docker run: Launch Docker Container
- docker rm -f: Remove/Delete Running containers
- docker exec: Execute Commands in Docker

First, let us look at front end part:


![Screenshot 2021-06-24 173831.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1624641388737/DxgLJGyRY.png)

Now about our backend, where I have already installed apache as a web server and here is our python program:


![Screenshot 2021-06-24 163322.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1624641570182/rpOAL7Y48L.png)

Also we have to give the permission in /etc/sudoers to run the commands as sudo user 


![Screenshot 2021-06-24 163210.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1624641737494/ohl1_ddxI.png)

Now we can use our GUI to run Docker commands:


![Screenshot 2021-06-24 173831.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1624641994994/-4vBxJFej.png)


![Screenshot 2021-06-24 173649.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1624642015337/q6ewyxO7P.png)

And there you have it.


