DOCKER TASK

Rahul Jain
Mar 14, 2021

🔅Configuring HTTPD Server on Docker Container

🔅Setting up Python Interpreter and running Python Code on Docker Container

->To configure Httpd Server on Docker Container we need to follow following steps:

✍️Step 1 : launch new container in Docker using image (Centos:8)

✍️Step-2: Now install Httpd software using yum command

✍️Step-3: Now create a folder in /etc/var/html for creating a web page and create html file inside that folder

Start Httpd Service

->To Setting up Python Interpreter and running Python Code on Docker Container we need to follow following steps:

✍️Step 1 : First launch new container in Docker using image (Centos:8)

✍️Step 2: install the python software

✍️Step 3: Create Python File and write Python Code

✍️Step 4: run our python codes on top of docker container

--

--