Containerization using Python

Deploy Docker using Python


Container technology is one of the most interesting and important technology used by the modern world. This enables us to launch a complete operating system and boot it within seconds and with very minimal space. This is made possible by the use of container technology on a base OS. Docker is one such technology that enables us to launch containers. Docker Hub is the repository of docker images universally.

Common Gateway Interface

The CGI gateway is a way to create web apps and implement them on a web server. This makes use of a scripting language like python to set up a program for a client to use without logging in to the server.


Home Web page

The above web page is created basic HTML code with a form to input the name of the docker image intended to deploy.

Deploying Ubuntu:14.04

The form has been redirected to a python code in a cgi-bin directory and hosted using Apache Httpd server. In this example, I have tried to launch an Ubuntu:14.04 image.

Docker image

Seems like the image is launched!




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Mining simulator codes in Roblox (August 2020)


Starting the Open Source Phase

Libraries static in C?

Bee v1.4.0 Release

Critical Supply Chain

CAPSIZED Kubernetes

LeetCode_39(Combination Sum) 心得(Medium)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Abhiroop Bas

Abhiroop Bas

More from Medium

#JustStart Goals


I like you — and other things I learned:

Favorite Childhood Memory