Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 01 · DevOps · Containers & Docker · about 18 min to read

Play it as a journeyTutor comes with a plan

Linux and the Shell: Processes, Files, Pipes, Permissions and Signals

Running a Container
Running a Container · Open board

The board shows docker run switching a sealed box on. This lesson is about the ordinary Linux machinery that box runs on, and the one detail of it that decides whether docker stop takes half a second or ten.

Before you start. Read Processes, Threads & the Kernel and Running a Container for Real first, or take these two sentences from them. From the first: the kernel is the one program that owns the real machine, and every running program is a process it manages, each with its own number and its own walled-off memory. From the second: a container is just an ordinary process that the kernel gives a private view of the machine, so inside it that process sees itself as process number 1.

Lesson 3 of 70 in DevOps · Free with an account

Keep reading. It's free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

No card, and chalk sends no email. Google sign-in only.

Start free with Google

In this lesson

  • 2017: a flag to fix a ten-second wait
  • A process is a tenant with a flat number
  • File descriptors: the numbered slots in the door
  • Pipes: a chute from one door to the next
  • Permissions: who holds which key, and why 777 hands every key to everyone
  • Signals: the note under the door, and the crew that needs no note
  • PID 1: the head tenant who throws notes away
  • The fix: let the app be PID 1, or hire a doorman

Terms it explains: file descriptor, pipe, permissions, signal, PID 1, handler, daemon.

Review DevOps