Difference between revisions of ".dockerignore"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{Draft}} == Related terms == * <code>docker-compose</code> * <code>.gitignore</code> file == See also == * {{Docker}} * <code>.gitignore</code> file Category:Dock...")
 
 
(13 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.
 
 
  
  
 
== Related terms ==
 
== Related terms ==
 
* <code>[[docker-compose]]</code>
 
* <code>[[docker-compose]]</code>
* <code>.gitignore</code> file
+
* <code>[[docker build]]</code>
 +
* <code>[[.gitignore]]</code> file
 +
* <code>[[.terraformignore]]</code>
 +
* <code>=> => [[transferring context]]: 2B</code>
  
 +
== See also ==
 +
* {{docker build}}
 +
* {{ignore}}
  
== See also ==
 
* {{Docker}}
 
* <code>.gitignore</code> file
 
  
 
[[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: