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.Bindbuild()HostConfig.Bind.Builderfrom(String from)HostConfig.Bind.BuildernoCopy(Boolean noCopy)HostConfig.Bind.BuilderreadOnly(boolean readOnly)HostConfig.Bind.BuilderselinuxLabeling(Boolean sharedContent)Turn on automatic SELinux labeling of the host file or directory being mounted into the container.HostConfig.Bind.Builderto(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()
-
-