This course covers different approaches for building images. By the end of this course, you'll be well positioned to start building images easily and maintain them over time.
Lesson 1 3:19
Introduction to Containerization
This lesson provides a brief introduction to containerization and sets the groundwork for the rest of the course.
Lesson 2 10:05
Building Images with Dockerfile: Basic Syntax, App Launch, Tags, and Build Context
In this lesson, we run through a few introductory examples to cover the basic syntax of Dockerfiles, configuring the application launch command, using tags appropriately, and controlling the build context.
Lesson 3 9:38
Building Images with Dockerfile: App Shutdown, Image Layers, and Caching
In this lesson, we explore how Dockerfile configuration can impact application shutdown behavior. We also cover the layered nature of Docker images, the ability of layers to function as cache, and strategies for maximizing caching opportunities during image builds.
Lesson 4 7:48
Building Images with Dockerfile: Runtime User, Multi-Stage Builds, Inspecting Images
In this lesson we cover two basic strategies for improving security: setting the runtime user, and reducing the size and surface area of runtime images. We also look at two utilities —
docker inspect and
dive — for inspecting images.
Lesson 5 8:22
Building Images for Java Applications with JIB
Jib is a tool for building images from Java applications without using Docker or Dockerfiles. In this lesson we learn how to use Jib's Maven and Gradle build plugins to configure and build images.
Lesson 6 10:54
Building Images with Buildpacks: The Cloud Native Buildpacks Project
In this lesson we learn about the Cloud Native Buildpacks project, which provides a simple though sophisticated approach for building images in a way that can be easily scaled and operationalized. We cover the motivations for the project, its API-based approach, and some of the implementations available in the ecosystem.
Lesson 7 10:10
Building Images with Buildpacks: pack, Spring Boot, kpack, and Paketo Buildpacks
In this lesson we explore the features and functionality of Cloud Native Buildpacks using three tools (platforms) for building images: the pack CLI, Spring Boot build plugin, and kpack hosted service. We also explore the modularized buildpacks provided by Paketo Buildpacks for building images in a variety of languages.
Not sure where to start?
Take this assessment quiz to get your personalized course recommendations.Take the quiz