Difference between revisions of ".dockerignore"

From wikieduonline
Jump to navigation Jump to search
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Draft}}
+
The <code>.dockerignore</code> file allows you to exclude files from the context like a <code>[[.gitignore]]</code> 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.
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 ==
 
== Related terms ==
 
* <code>[[docker-compose]]</code>
 
* <code>[[docker-compose]]</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}}
+
* {{docker build}}
* <code>.gitignore</code> file
+
* {{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]

See also[edit]

Advertising: