Difference between revisions of ".dockerignore"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
* <code>[[docker build]]</code> | * <code>[[docker build]]</code> | ||
* <code>[[.gitignore]]</code> file | * <code>[[.gitignore]]</code> file | ||
+ | * <code>[[.terraformignore]]</code> | ||
+ | * <code>=> => [[transferring context]]: 2B</code> | ||
== See also == | == See also == | ||
* {{docker build}} | * {{docker build}} | ||
− | * {{ | + | * {{ignore}} |
[[Category:Docker]] | [[Category:Docker]] |
Latest revision as of 13:40, 23 July 2024
The .dockerignore
file allows you to exclude files from the context like a .gitignore
file allow you to exclude files from your git repository. You can use it to help avoid unnecessarily sending large or sensitive files and directories to the docker daemon.
Related terms[edit]
docker-compose
docker build
.gitignore
file.terraformignore
=> => transferring context: 2B
See also[edit]
Advertising: