Last updated February 23, 2018

Installation is only one part of setting up a custom Docker image. With few exceptions, we'll want to configure the application to better suit our use case. Docker does not provide a standardized way for applications to be configured. Instead, we rely on the same techniques as we would when configuring the application on a bare-metal server.

In this tutorial, we'll:

  • Extract default configuration files from a Docker image
  • Give strategies for adding configuration files to the image
  • Outline the complexities of using configuration commands in a Dockerfile