In this blog I will be giving you a step by step instruction for dockerizing your python interpreter.

So let’s get started !!

Step1: Launching a docker container

I will be using the centos as my container’s operating system. You can also use any other docker image like fedora and ubuntu.

For downloading the docker image use the below command

docker pull centos

For launching a container

docker run -it --name python_interpretor centos