Browse code

Fix docs typo and wrong word

Signed-off-by: Zhang Wei <zhangwei555@huawei.com>

Zhang Wei authored on 2015/11/05 15:17:37
Showing 2 changed files
... ...
@@ -359,7 +359,7 @@ type NetworkResource struct {
359 359
 	Options    map[string]string
360 360
 }
361 361
 
362
-//EndpointResource contains network resources allocated and usd for a container in a network
362
+// EndpointResource contains network resources allocated and used for a container in a network
363 363
 type EndpointResource struct {
364 364
 	EndpointID  string
365 365
 	MacAddress  string
... ...
@@ -121,7 +121,7 @@ name if one exists. For example, this command:
121 121
 
122 122
 If `/test` does not exist on the local machine, it will be created as a file
123 123
 with the contents of `/tmp/foo/myfile.txt` from the container. If `/test`
124
-exists as a file, it will be overwritten. Lastly, if `/tmp` exists as a
124
+exists as a file, it will be overwritten. Lastly, if `/test` exists as a
125 125
 directory, the file will be copied to `/test/myfile.txt`.
126 126
 
127 127
 Next, suppose you want to copy a file or folder into a container. For example,