Task Description: Docker Task
🔅Configuring HTTPD Server on Docker Container
🔅Setting up Python Interpreter and running
Python Code on Docker Container

This task can be very easily completed.

Either we can launch a container and configure all these things inside that or we can use Dockerfile to create a image that will have all this setup inside it.

We will use Dockerfile to create a image that will have all this setup inside it , as it is a good approach.

Dockerfile for this setup is:

Also the python code that we will put inside this Image is:

--

--

Nishant Saini

Nishant Saini

RedHat Certified Engineer (RHCE) | AWS Academy Graduate | DevOps Enthusiast