A '.dockerignore' file is used to?
- Exclude files from the build context
- List every currently running container
- Define the services in a Compose file
- Set environment variables at runtime
.dockerignore keeps unneeded files out of the build context.
Play DevOps ▸