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

Let’s Start :

1. Pull Image from Docker Hub:

command : docker pull centos:latest

🔰 Ansible playbook that will retrieve new Container IP and update the inventory. So that further Configuration of Webserver could be done inside that Container.

Let’s start …

  1. Update the ansible Configuration file :

path : /etc/ansible/ansible.cfg