Interface HostConfig.Bind.Builder
- Enclosing interface:
- HostConfig.Bind
public static interface HostConfig.Bind.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()readOnly(boolean readOnly) selinuxLabeling(Boolean sharedContent) Turn on automatic SELinux labeling of the host file or directory being mounted into the container.
-
Method Details
-
to
-
from
-
readOnly
-
noCopy
-
selinuxLabeling
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()
-