public abstract static class HostConfig.Bind.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
abstract HostConfig.Bind |
build() |
abstract HostConfig.Bind.Builder |
from(String from) |
HostConfig.Bind.Builder |
from(Volume volumeFrom) |
abstract HostConfig.Bind.Builder |
noCopy(Boolean noCopy) |
abstract HostConfig.Bind.Builder |
readOnly(Boolean readOnly) |
abstract HostConfig.Bind.Builder |
selinuxLabeling(Boolean sharedContent)
Turn on automatic SELinux labeling of the host file or directory being
mounted into the container.
|
abstract HostConfig.Bind.Builder |
to(String to) |
public abstract HostConfig.Bind.Builder to(String to)
public abstract HostConfig.Bind.Builder from(String from)
public HostConfig.Bind.Builder from(Volume volumeFrom)
public abstract HostConfig.Bind.Builder readOnly(Boolean readOnly)
public abstract HostConfig.Bind.Builder noCopy(Boolean noCopy)
public abstract HostConfig.Bind.Builder selinuxLabeling(Boolean sharedContent)
sharedContent - True if this bind mount content is shared among multiple
containers (mount option "z"); false if private and unshared (mount option "Z")HostConfig.Builderpublic abstract HostConfig.Bind build()
Copyright © 2018. All rights reserved.