Deploying Machine Learning model inside Docker container

Task Description đź“„
👉 Pull the Docker container image of CentOS image from DockerHub and create a new container
👉 Install the Python software on the top of docker container
👉 In Container you need to copy/create machine learning model which you have created in jupyter notebook
Let’s Start :
1. Pull Image from Docker Hub:
command : docker pull centos:latest

2. Launch Container using above Image :
command : docker run -it — name container_name centos:latest

3. Install Python interpreter :
command : yum install python3 -y

4. Install numpy module
command : pip3 install numpy

5. Install sklearn module
command: pip3 install sklearn

6. Copy file to docker container :
command : docker cp source_path to container_is/destination_path

7. Check File copied or not :

8. Run Model Regression python file :
command : python3 file_name.py
