Skip to content
Français
Sync not enabled: your progress stays in this browser My learning
Select theme
Français

Skill · Containers · Build and run containers

Build an OCI image

Write an efficient Dockerfile and its .dockerignore, choose the image's base and check what a FROM change breaks, separate build and runtime with a multi-stage build, pass a build secret with BuildKit without leaving it in the image, build with Buildx for several platforms while checking each variant, then test the resulting image: startup, configuration, user, shutdown and health check.

Start lesson 1The Containers domain

Lessons

How to learn it

This skill is learned with the tool of your choice; your preferences decide the path followed in your journey. Each path lists its lessons in program order.

With Docker

10 lessons · ~16 h 10 default

Part 3 · Test, shrink and deliver an image 2 lessons · ~4 h 10

  1. 9Test the contract of an image· 150 min
  2. 10Inspect and shrink a Docker image without breaking it· 100 min

With Podman

2 lessons · ~1 h 30

Beyond the lessons

Assess, practise, pass the proof

Reading a lesson confirms nothing. A skill is confirmed by a passed quiz, practised in a guided lab, and put to the test by a challenge or a mission; an imported lab result is not verified by the site.

Around it

Who requires it, who teaches it