Basic Docker Task
Jan 27, 2021
This is a docker task which needs the following to be done
- Configuring HTTPD Server on Docker Container
- Setting up Python Interpreter and running
- Python Code on Docker Container
Step 1: Launch docker container using command
docker run -it --name os1 centos
Step 2: Download Httpd software using
yum install httpd
Step 3: Running httpd service using
/usr/sbin/httpd -DFOREGROUND
Step 4: Installing python interpreter
yum install python36
Step 5 : Run Python code