Skip to content
Theory · Docker Compose · lesson 7 of 8

up, down and what stays

After a concert the stage is cleared: the chairs and music stands are carried off and the lights go out. The sheet music is not thrown away: it goes back to the music library, and at the next concert the orchestra plays from the same sheets. Compose has commands for a break, for clearing the stage and for a cleanup that takes the sheet music too, and each treats the data differently.

In this lesson

  • up: create and start
  • stop: a break
  • down: clearing the stage
  • down -v: with the data
  • Common mistake
  • Key points