.dockerignore: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 5: Line 5:
=Overview=
=Overview=


Contains files and directories from the [[build context]] that won't be uploaded to the docker host when the image is built. .dockerignore supports exclusion patterns similar to [[.gitignore]].
Contains files and directories from the [[Docker_build#The_Build_Context|build context]] that won't be uploaded to the docker host when the image is built. .dockerignore supports exclusion patterns similar to [[.gitignore]].

Revision as of 22:44, 29 January 2018

Internal

Overview

Contains files and directories from the build context that won't be uploaded to the docker host when the image is built. .dockerignore supports exclusion patterns similar to .gitignore.