Interface HostConfig.Bind.Builder
-
- Enclosing interface:
- HostConfig.Bind
public static interface HostConfig.Bind.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HostConfig.Bind
build()
HostConfig.Bind.Builder
from(String from)
HostConfig.Bind.Builder
noCopy(Boolean noCopy)
HostConfig.Bind.Builder
readOnly(boolean readOnly)
HostConfig.Bind.Builder
selinuxLabeling(Boolean sharedContent)
Turn on automatic SELinux labeling of the host file or directory being mounted into the container.HostConfig.Bind.Builder
to(String to)
-
-
-
Method Detail
-
to
HostConfig.Bind.Builder to(String to)
-
from
HostConfig.Bind.Builder from(String from)
-
readOnly
HostConfig.Bind.Builder readOnly(boolean readOnly)
-
noCopy
HostConfig.Bind.Builder noCopy(Boolean noCopy)
-
selinuxLabeling
HostConfig.Bind.Builder selinuxLabeling(Boolean sharedContent)
Turn on automatic SELinux labeling of the host file or directory being mounted into the container.- Parameters:
sharedContent
- True if this bind mount content is shared among multiple containers (mount option "z"); false if private and unshared (mount option "Z")- Returns:
HostConfig.Bind.Builder
-
build
HostConfig.Bind build()
-
-