more docs for dockerignore

Docker-DCO-1.1-Signed-off-by: Tibor Vass <teabee89@gmail.com> (github: tiborvass)
Upstream-commit: c21c55e0b6d0f9582e4ee168fbd518b57dacc8fb
Component: engine
This commit is contained in:
Tibor Vass
2014-07-01 15:11:18 -04:00
parent e49c262737
commit 3cde46554b
2 changed files with 35 additions and 3 deletions
@@ -223,7 +223,7 @@ will be excluded from the context. Globbing is done using Go's
See also:
[*Dockerfile Reference*](/reference/builder/#dockerbuilder).
[*Dockerfile Reference*](/reference/builder).
### Examples:
@@ -292,8 +292,8 @@ affect the build cache.
---> 99cc1ad10469
Successfully built 99cc1ad10469
This example shows the use of the ``.dockerignore`` file to exclude the ``.git``
directory the context. Its effect can be seen in the changed size of the
This example shows the use of the `.dockerignore` file to exclude the `.git`
directory from the context. Its effect can be seen in the changed size of the
uploaded context.
$ sudo docker build -t vieux/apache:2.0 .