Python with Docker

Task Description

!!! Setting up Python Interpreter and running python code on docker container !!!

Lets Go

>> First we have to stop or disable the firewall then using the services >>

systemctl stop firewalld

setenforce 0

>> Now we will check our docker images and attach the docker img >>

>> Now it’s time to set-up python interpreter so we need to install it by using command >>

yum install python3

>> Now run python interpreter>>

>> lets create a python file using vi editor >>

>> lets run the program and see the output >>

Finally output is come ….!!!!

Task_7.2_B Setting up Python Interpreter and running python code on docker container

Hurray we did it !!!!!

Thankyou for your support !!!!

STAY TUNED !!!

--

--