Skip to content

PID 1 and signals · warm-up · 5 min

A container that stops when it is asked

This application installs a SIGTERM handler and shuts down in about 200 milliseconds. In this container it takes the full ten-second grace period and is killed. Fix it so the container stops cleanly, within a second.

Your Dockerfile

  1. 1
  2. 2
  3. 3
  4. 4

Scorecard

Nothing has been graded. Fix the Dockerfile, then build — the gates, the layers and the ledger appear together.

Everything you do here stays in this browser.Part of liter8.sh