mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	This allows non-recursive bind-mount, i.e. mount(2) with "bind" rather than "rbind". Swarm-mode will be supported in a separate PR because of mutual vendoring. Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			404 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			404 B
		
	
	
	
		
			Go
		
	
	
	
	
	
// +build !windows
 | 
						|
 | 
						|
package container // import "github.com/docker/docker/container"
 | 
						|
 | 
						|
// Mount contains information for a mount operation.
 | 
						|
type Mount struct {
 | 
						|
	Source       string `json:"source"`
 | 
						|
	Destination  string `json:"destination"`
 | 
						|
	Writable     bool   `json:"writable"`
 | 
						|
	Data         string `json:"data"`
 | 
						|
	Propagation  string `json:"mountpropagation"`
 | 
						|
	NonRecursive bool   `json:"nonrecursive"`
 | 
						|
}
 |