mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	Merge pull request #17717 from WeiZhang555/docsAndTypo
Fix docs typo and wrong word
This commit is contained in:
		
						commit
						5baf56ca00
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue