소스 검색

Updated the COPY directive reference: Source can't be a URL for COPY (+ formatting error fixes)

Signed-off-by: Roman Dudin <katrmr@gmail.com>
decadent 10 년 전
부모
커밋
ed5e776a22
1개의 변경된 파일6개의 추가작업 그리고 9개의 파일을 삭제
  1. 6 9
      docs/sources/reference/builder.md

+ 6 - 9
docs/sources/reference/builder.md

@@ -355,9 +355,8 @@ change them using `docker run --env <key>=<value>`.
 
 
     ADD <src>... <dest>
     ADD <src>... <dest>
 
 
-The `ADD` instruction copies new files,directories or remote file URLs to 
-the filesystem of the container  from `<src>` and add them to the at 
-path `<dest>`.  
+The `ADD` instruction copies new files, directories or remote file URLs from `<src>`
+and adds them to the filesystem of the container at the path `<dest>`.  
 
 
 Multiple `<src>` resource may be specified but if they are files or 
 Multiple `<src>` resource may be specified but if they are files or 
 directories then they must be relative to the source directory that is 
 directories then they must be relative to the source directory that is 
@@ -448,13 +447,11 @@ The copy obeys the following rules:
 
 
     COPY <src>... <dest>
     COPY <src>... <dest>
 
 
-The `COPY` instruction copies new files,directories or remote file URLs to 
-the filesystem of the container  from `<src>` and add them to the at 
-path `<dest>`. 
+The `COPY` instruction copies new files or directories from `<src>`
+and adds them to the filesystem of the container at the path `<dest>`.
 
 
-Multiple `<src>` resource may be specified but if they are files or 
-directories then they must be relative to the source directory that is being 
-built (the context of the build).
+Multiple `<src>` resource may be specified but they must be relative
+to the source directory that is being built (the context of the build).
 
 
 Each `<src>` may contain wildcards and matching will be done using Go's
 Each `<src>` may contain wildcards and matching will be done using Go's
 [filepath.Match](http://golang.org/pkg/path/filepath#Match) rules.
 [filepath.Match](http://golang.org/pkg/path/filepath#Match) rules.