Performing Machine Learning in Docker Container

Task 01 👨🏻‍💻

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.

Step 1 :-

Pull image using command “docker pull centos:latest” and then launch container using command “docker run” :-

Step 2 :-

Install python using command “yum install python3”

Install pandas using “pip3 install sklearn pandas”

Step 3 :-

Upload the model and data in GitHub and clone it from the container image.

Step 4:-

So that’s all.

This is how we can do machine learning predictions inside a docker container.

If you find it helpful please upvote it.

Connect with me on LinkedIn | GitHub

Lifelong learning technologies