MACHINE LEARNING PROGRAM IN DOCKER
Hey, I am an MLops learner in Linux world informatics and today im uploading my assigned task1 here.
In this task by using linux software we have to install a container in the docker and run a machine learning program using python code inside the container.

so first we initialize docker and we install centos

After installing centos which we use as a container we run it by using run command. After launching/opening the container we install python3 by using yum install python3 command

once the python3 is installed. we install the libraries by using “pip3 install numpy”,pip3 install pandas”,pip3 install sklearn” etc., which are required for the program. After installing these libraries we check whether they are all properly installed or not by using “pip3 List”command.

then by using using “mkdir” command we create a file called Task1 inside the root, and we exit from centos container and by using copy command we copy the csv data file which contains data set, from localhost to Task1 which is in centos.


by using start command we launch into the centos container and launch python3 to write and execute and save the code.