596cdffb9f
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"`
|
|
}
|