Browse code

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 authored on 2014/10/29 18:36:38
Showing 1 changed files
... ...
@@ -355,9 +355,8 @@ change them using `docker run --env <key>=<value>`.
355 355
 
356 356
     ADD <src>... <dest>
357 357
 
358
-The `ADD` instruction copies new files,directories or remote file URLs to 
359
-the filesystem of the container  from `<src>` and add them to the at 
360
-path `<dest>`.  
358
+The `ADD` instruction copies new files, directories or remote file URLs from `<src>`
359
+and adds them to the filesystem of the container at the path `<dest>`.  
361 360
 
362 361
 Multiple `<src>` resource may be specified but if they are files or 
363 362
 directories then they must be relative to the source directory that is 
... ...
@@ -448,13 +447,11 @@ The copy obeys the following rules:
448 448
 
449 449
     COPY <src>... <dest>
450 450
 
451
-The `COPY` instruction copies new files,directories or remote file URLs to 
452
-the filesystem of the container  from `<src>` and add them to the at 
453
-path `<dest>`. 
451
+The `COPY` instruction copies new files or directories from `<src>`
452
+and adds them to the filesystem of the container at the path `<dest>`.
454 453
 
455
-Multiple `<src>` resource may be specified but if they are files or 
456
-directories then they must be relative to the source directory that is being 
457
-built (the context of the build).
454
+Multiple `<src>` resource may be specified but they must be relative
455
+to the source directory that is being built (the context of the build).
458 456
 
459 457
 Each `<src>` may contain wildcards and matching will be done using Go's
460 458
 [filepath.Match](http://golang.org/pkg/path/filepath#Match) rules.