Migrating Applications to the Cloud with Azure
by Sjoukje Zaal, Amit Malik, Sander Rossel, Jason Marston, Mohamed Waly, Stefano Demiliani
Preparing Docker images
In this section, we'll learn about the process and best practices of building Docker images for identified application components.
A Docker image is a file that's used to run Docker containers. In an ideal world, you'd build separate Docker images for the different application components that have been identified. A Docker image includes everything that is needed for the app to run, including the required base OS configuration, packages, frameworks, application files, configurational items, and launch commands or scripts.
Docker images are built using Dockerfiles, which are nothing but plain configuration files that include everything that should be added to the image. We can build images using Dockerfiles and then ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access