From the course: Docker for Data Engineers

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Making predictions using the containerized application

Making predictions using the containerized application - Docker Tutorial

From the course: Docker for Data Engineers

Making predictions using the containerized application

Let's confirm that our container has been successfully deployed. We can do this from the command line by running the az container show command. We specify the resource group, loony-deployment-rg, the name of the container, churn-prediction-app, and we want the fully qualified domain name and the provisioning state of the container. We want the output in a table format. And here is our fully qualified domain name of the container. The provisioning state is succeeded. Looks like the container deployed successfully. Let's head over to the Azure portal. Search for container instances. And there you should find our churn-prediction-app. Click through to this to view the details of the running container. Observe the fully qualified domain name of the container, the FQDN. We'll use this fully qualified domain name when we reference this container in our HTTP request to get predictions from the deployed model. Let's copy this over and let's make a curl request to our containerized app. Here…

Contents