From the course: MLOps Tools: MLflow and Hugging Face

Unlock this course with a free trial

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

Troubleshooting container deployment

Troubleshooting container deployment - Hugging Face Tutorial

From the course: MLOps Tools: MLflow and Hugging Face

Troubleshooting container deployment

- So now we've dealt with a broken container. It doesn't start. But what happens if you have the incorrect port? Well, let's make that change again. We're going to clean this up. Make that syntax error go away and change the port to something else. So I'm going to remove these syntax error so it doesn't bother us anymore. And here I'm going to put, say Port 8000. And I'm going to commit those changes and say setting up port 8000. And then commit those changes. And what this is going to do is, as you know, we have automation now. It's going to build this container, push it to the GitHub container Registry, and then it's going to tell Azure that it needs to pull this new container and try to run it up again. So let's click on this one. You'll see that it's building the container. That's going to take a few seconds, hopefully not too long, and then it will go back and deploy. So let's just wait a minute until these setting up port 8000 commit gets built and deployed and pushed to Azure…

Contents