Containerizing a Software Application with Docker
Containers are helping to revolutionize the way we deliver software applications. This course will provide you with the requisite skills and knowledge to get you started with packaging your own software applications into containers.
What you'll learn
With the advent of the microservices architecture pattern and enabling technologies such as containers, the way applications are being architected and delivered is changing. Packaging software applications into read-only template images in order to derive immutable application containers, is a key ingredient in this approach, and Docker is at the forefront. In this course, Containerizing a Software Application with Docker, you'll learn how to package a software application into a Docker image. First, you'll explore the nature of Docker images, and their relationship with containers. Next, you'll master how to create Docker images, including authoring a Docker image for a real software application using a Dockerfile. Finally, you'll discover how to name and share Docker images with a wider audience. By the end of this course, you'll have gained the required knowledge of techniques and best practice to get started with containerizing your own software applications.
Table of contents
- Module Overview 3m
- Specifying a Base Image 3m
- Defining Environment Variables 5m
- Running Commands to Create Content 4m
- Adding Artifacts to Images 4m
- Forming the Command to Execute 4m
- Making Use of the CMD and ENTRYPOINT Instructions 4m
- Monitoring the Health of Containers 3m
- Defining and Using a HEALTHCHECK Instruction 4m
- Deferring Instruction Execution 3m
- Adding Metadata to Images 3m