diff --git a/api/types/types.go b/api/types/types.go index ae2057df0c..25355d2a37 100644 --- a/api/types/types.go +++ b/api/types/types.go @@ -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 diff --git a/man/docker-cp.1.md b/man/docker-cp.1.md index 7b56957579..70ee7f466d 100644 --- a/man/docker-cp.1.md +++ b/man/docker-cp.1.md @@ -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,