DOCKER-WEB-APP

Kumar Manas
2 min readJul 5, 2021

--

DOCKER WEBAPP

“Build, Ship and Run Any App, Anywhere”

· Report Bug · Request Feature

Table of Contents

  1. About The Project
  1. Getting Started
  1. Usage
  2. TODO
  3. Contributing
  4. Contact

About The Project

​ Docker is great containerization tool which provides user “Platfrom as a Service” (PaaS).A Docker WebApp is a lightweight WebApp that includes feature to execute docker commands remotely from browser.This project focuses on UI/UX and easeness to admin user to perform docker tasks. Dynamic webinterface of this project makes it more attractive.

Built With

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

Docker need to be installed on the remote linux server.

  1. Docker
  • Docker command to install on Red Hat linux, CentOS, Fedora.
  • yum install docker-ce
  1. Apache Web Server
  • Apache Webserver need to installed in the remoted linux server.
  • yum install httpd

Installation

  1. Clone the repo in the linux workspace
git clone https://github.com/tamimdalwai/Docker-Web-App
  1. Copy the html,css files in the /var/www/html folder
cp -r ./www/html/* /var/www/html
  1. Copy the cgi-bin files in the /var/www/cgi-bin
cp -r ./www/cgi-bin/* /var/www/cgi-bin/
  1. Start the apache daemon and docker daemon
#systemctl start httpd
#systemctl start docker
  1. Check ip address where apache server is running and type the ip address in the address of browser…All Done!!!!!!!

Usage

By using docker web app we can -

  • remotely control docker containers
  • as it is deployed on top of apache server, it can be accessed from anywhere.
  • provides easeness to use and great ui experience.

#TODO

Yet this project has not fully completed yet, we can further enhance this web app by adding following features:

  • Get interactive Terminal of launched containers in web browser.
  • Create form to launch containers for non-it guys with inputs as follows:
  • Select Image
  • Select no. of containers
  • Launch button
  • Create form to Remove containers for non-it guys with inputs as follows:
  • Select Containers from list
  • Remove
  • Create form to create custom docker images.
  • Form/Button to push the images to docker hub repository.

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

--

--