Machine Learning Inside Docker

Machine Learning Inside Docker


=================================================================

Step 01 : Check Docker is Installed or not.

" docker info "

No alt text provided for this image

Step 02 : Pull the Centos Image from Docker hub.

" docker pull centos:latest "

No alt text provided for this image

Step 03 : Create a Container with the help of Centos image.

" docker run -i -t --name=container_name centos:latest "

No alt text provided for this image

Step 04 : Check Container Start or not.

No alt text provided for this image

Step 05 : Download Python softwere inside Container.

" yum install python3 "

No alt text provided for this image

Step 06 : Install all the libararies your Machine Learning model depend.

" pip3 install numpy "

" pip3 install pandas "

" pip3 install scikit-learn "

No alt text provided for this image

Step 07 : Copy Your model Inside Container. and it's copied or not.

" docker cp Model_file_name Container name:/model_file_name "

You need to run this command in your base/host system

No alt text provided for this image
No alt text provided for this image

Step 08 : Create a Model file.

No alt text provided for this image

Step 09 : Run the Model.

No alt text provided for this image

---------------------------------------------------------------------------------------------------------------

That's All
ThankYou For Giving Great Time.
-Rahul Rathod


To view or add a comment, sign in

More articles by Rahul Rathod

Explore content categories