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 !!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aditya Raj

Aditya Raj

I'm passionate learner diving into the concepts of computing 💻