Fix docs typo and wrong word

Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
This commit is contained in:
Zhang Wei 2015-11-05 14:17:37 +08:00
parent f18c5e9714
commit 725b7c9d43
2 changed files with 2 additions and 2 deletions

View File

@ -359,7 +359,7 @@ type NetworkResource struct {
Options map[string]string
}
//EndpointResource contains network resources allocated and usd for a container in a network
// EndpointResource contains network resources allocated and used for a container in a network
type EndpointResource struct {
EndpointID string
MacAddress string

View File

@ -121,7 +121,7 @@ name if one exists. For example, this command:
If `/test` does not exist on the local machine, it will be created as a file
with the contents of `/tmp/foo/myfile.txt` from the container. If `/test`
exists as a file, it will be overwritten. Lastly, if `/tmp` exists as a
exists as a file, it will be overwritten. Lastly, if `/test` exists as a
directory, the file will be copied to `/test/myfile.txt`.
Next, suppose you want to copy a file or folder into a container. For example,