Merge pull request #6578 from ch3pjw/documentation_fix

Fix minor typo and improve wording
This commit is contained in:
Sven Dowideit 2014-06-21 09:57:25 +10:00
commit ad19f1beb7
1 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@ To [*build*](../commandline/cli/#cli-build) an image from a source repository,
create a description file called Dockerfile at the root of your repository. create a description file called Dockerfile at the root of your repository.
This file will describe the steps to assemble the image. This file will describe the steps to assemble the image.
Then call `docker build` with the path of you source repository as argument Then call `docker build` with the path of your source repository as the argument
(for example, `.`): (for example, `.`):
$ sudo docker build . $ sudo docker build .
@ -239,13 +239,13 @@ In the case where `<src>` is a remote file URL, the destination will have permis
> **Note**: > **Note**:
> If you build using STDIN (`docker build - < somefile`), there is no > If you build using STDIN (`docker build - < somefile`), there is no
> build context, so the Dockerfile can only contain an URL based ADD > build context, so the Dockerfile can only contain a URL based ADD
> statement. > statement.
> **Note**: > **Note**:
> If your URL files are protected using authentication, you will need to > If your URL files are protected using authentication, you will need to
> use an `RUN wget` , `RUN curl` > use `RUN wget` , `RUN curl`
> or other tool from within the container as ADD does not support > or use another tool from within the container as ADD does not support
> authentication. > authentication.
The copy obeys the following rules: The copy obeys the following rules: