Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Azure Containers Explained

You're reading from  Azure Containers Explained

Product type Book
Published in Mar 2023
Publisher Packt
ISBN-13 9781803231051
Pages 278 pages
Edition 1st Edition
Languages
Authors (2):
Wesley Haakman Wesley Haakman
Profile icon Wesley Haakman
Richard Hooper Richard Hooper
Profile icon Richard Hooper
View More author details

Table of Contents (22) Chapters

Preface 1. Part 1: Understanding Azure Container Technologies
2. Chapter 1: Azure Containers – Pleased to Meet You 3. Chapter 2: Azure App Service – Running a Container Was Never That Difficult 4. Chapter 3: Deploying Containers to Azure Functions 5. Chapter 4: Azure Container Instances for Serverless Containers 6. Chapter 5: Azure Container Apps for Serverless Kubernetes 7. Chapter 6: Azure Kubernetes Service for Kubernetes in the Cloud 8. Part 2: Choosing and Applying the Right Technology
9. Chapter 7: The Single Container Use Case 10. Chapter 8: Deciding the Best Fitting Azure Technologies for Multiple Containers 11. Chapter 9: Container Technologies for Startups 12. Chapter 10: Container Technologies for Small and Medium-Sized Businesses 13. Chapter 11: Container Technologies for Enterprises 14. Part 3: Migrating Between Technologies and Beyond
15. Chapter 12: Migrating Between Container Technologies 16. Chapter 13: Azure Container Instances – I Like the Scalability But I Need More 17. Chapter 14: Beyond Azure Container Apps 18. Chapter 15: Azure Kubernetes Service – The Next Steps 19. Chapter 16: What’s Next – Diving into Future Trends and More 20. Index 21. Other Books You May Enjoy

Docker containers for Azure Functions

There are some particular quirks when it comes to building a container image for an Azure function. Where normally we can simply containerize the code we have built, for containers in Azure Functions apps, we have to follow some specific constructs. We have to implement the code as if we were writing an Azure function.

Now, that might sound like a very complicated thing to do, but in reality, it’s not that hard. We can use tools such as the Azure Functions Core Tools to generate the base code for our function, the Dockerfile, and add our own custom code to the function to get started.

Important note

In the previous example, we built the container image for you to get started and test. To follow the code in this chapter, you will not have to do any of the following we are about to explain. However, if you are taking this to production, it’s important to understand the basics.

To get started, we need the Azure Functions...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}