Skip to Content
Navigation:

A stick figure smiling

Here's a preview from my zine, How Containers Work!! If you want to see more comics like this, sign up for my saturday comics newsletter or browse more comics!

Image of a comic. To read the full HTML alt text, click "read the transcript". get the zine!
read the transcript!

containers package EVERY dependency together

smiling stick figure with short curly hair: to make sure this program will run on your laptop, I’m going to send you every single file you need

a container image iS a tarball of a filesystem

Here’s what’s in a typical Rails app’s container:

  • your app’s code
  • libc + other system libraries
  • Ubuntu base OS
  • Ruby interpreter
  • Ruby gems

how images are built

  1. start with a base OS
  2. install program + dependencies
  3. configure it how you want
  4. make a tarball of the WHOLE FILESYSTEM

tiny stick figure with short curly hair: this is what docker build does!

running an image

  1. download the tarball
  2. unpack it into a directory
  3. run a program and pretend that directory is its whole filesystem

images let you “install” programs realty easily

person, thinking: I can set up a Postgres test database in like 5 seconds! wow!

Saturday Morning Comics!

Want another comic like this in your email every Saturday? Sign up here!

I'll send you one of my favourite comics from my archives every Saturday.
© Julia Evans 2025 | All rights reserved (see the FAQ for notes about licensing)