(A) To configure web server on the top of docker container !!
(B) Setting up Python Interpreter and running Python Code on Docker Container
(A) To configure web server on the top of docker container !!
prerequisties:
1. Docker must be installed
2. Basic knowledge how to launch docker container
Here for performing this task i’m using rhel 8 as the base o.s
step 1 Start the docker service .

step 2 launch the container on the top of Redhat 8

step 3 install apache httpd software

step 4 navigate to /var/www/html
in this directory we have to put the webpage created by us.

step 5 star the httpd service
in redhat we use systemctl command to start the service but in docker this command is not supported .

step 6 install the net-tools software
this software is provide the command to see IP of container.

step 7 to access the webpage in browser

We have done it !!
(B) Setting up Python Interpreter and running Python Code on Docker Container
step 1 install python3 .

step 2 now we can create the python file and run the code

That’s all …………..
Thanks for reading……….