$ ./guess_the_languageDevOps
DevOps · medium · #37

A '.dockerignore' file is used to?

  1. Exclude files from the build context
  2. List every currently running container
  3. Define the services in a Compose file
  4. Set environment variables at runtime
.dockerignore keeps unneeded files out of the build context.
Play DevOps ▸