Table of Contents

About

The Docker Build Context or Build Context or Context 1) is a list of files sent to the daemon when the build command is executed

Example

All files from:

  • a directory if they are not in ignore file
  • a archive

Tip

Mount

A build context can be mounted with –mount option of the RUN command in order to run a build script.