Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
| ... | ... |
@@ -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, |