Skip to Content
Migrating Applications to the Cloud with Azure
book

Migrating Applications to the Cloud with Azure

by Sjoukje Zaal, Amit Malik, Sander Rossel, Jason Marston, Mohamed Waly, Stefano Demiliani
December 2019
Intermediate to advanced content levelIntermediate to advanced
494 pages
11h 41m
English
Packt Publishing
Content preview from Migrating Applications to the Cloud with Azure

Preparing a Dockerfile

A Dockerfile is a configuration file you write for your application requirements, which in turn produces a Docker image that can be used to run containers. 

Let's have a look at some of the common requirements for packaging an application into a container image:

  1. Choose a base image: Your application will run on some standard OS, such as Ubuntu, CentOS, windowsservercore, and so on. Sometimes, it doesn't have to be an OS and could be a platform image that will contain everything that's needed for the platform to function. nginx is one example of this. An nginx image would include everything that's needed to run the nginx web server in a container, and all you would need to do is add your web app files. In the first ...
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.
Start your free trial

You might also like

Migrating Applications to the Cloud

Migrating Applications to the Cloud

Steve Swoyer
Microsoft Azure: Planning, Deploying, and Managing the Cloud

Microsoft Azure: Planning, Deploying, and Managing the Cloud

Julian Soh, Marshall Copeland, Anthony Puca, Micheleen Harris

Publisher Resources

ISBN: 9781839217470Supplemental Content