IMPLEMENTING MACHINE LEARNING MODEL INSIDE DOCKER CONTAINER(TASK 1)
1st step is to check docker installed or not using docker info command

so this shows that docker is installed.
2nd step is if docker is present then, start the docker using
systemctl start docker command as shown below

now the docker has been started succesfully.
3rd step is pulling the docker centos image as below using command
docker pull centos

now the docker image has been pulled succesfully.
4th step is to create a new container using command
docker run -i -t — name=container name centos:latest

5th step is installing the python software in the docker container
using yum install software name command

6th step involves installing required python3 libraries using pip3 command

7th step is to copy the previously created machine learning model into the docker container as below
for this we need to transfer the file present in windows to linux as below


8th step is to create a workspace inside docker container

9th step involves writing python script as below

10th step includes saving the model and creating a file that can predict the target

final step includes to run the script file to predict the target that we provided
