Chapter 2. Running software in containers

This chapter covers

  • Running interactive and daemon terminal programs with containers
  • Containers and the PID namespace
  • Container configuration and output
  • Running multiple programs in a container
  • Injecting configuration into containers
  • Durable containers and the container life cycle
  • Cleaning up

Before the end of this chapter you’ll understand all the basics for working with containers and how Docker helps solve clutter and conflict problems. You’re going to work through examples that introduce Docker features as you might encounter them in daily use.

2.1. Getting help with the Docker command line

You’ll use the docker command-line program throughout the rest of this book. To get you started ...

Get Docker in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.