
{
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 and the libraries which require to run the model
π In Container you need to copy/create machine learning model which you have created in jupyter notebook
}
================================================================================
Step 1: Check Docker is installed or not. <docker info>
Step 2: Pull the Centos image from the Docker Hub. <docker pull centos:latest>
Step 3: Create a Container with a help of centos image. <docker run -t -i centos>
Step 4: check the Container is started or not.
Step 5: Download Python Software inside the Docker Container.<yum install python3 -y>
Step 6: Install all the libraries which your Machine Learning Model requires.<pip3 install pandas>,<pip3 install numpy>,<pip install scikit-learn>
Step 7: Copy your model inside Container and check whether the container is copied or not
Step 8: <docker cp Model_File_name Container_name:/home> we need to run this command in our base os i.e Rhel 8
Step 9: Create the model file
Step10: Run the Created Model file
Thatβs All
Thank You For Giving Great Time.
~Tanmay Pathare