Nov 13, 2020

2 min read

Setting up Python Interpreter and running Python Code on Docker Container

Step 1: Launch the docker container with centos image

docker run -it — name pythonos centos

docker ps

Step 2: Install python3 software in the container.

yum install python3

Step 3: Write Python code in the container.

Thank You !!