createBind
Creates a volume bind to the container.
Return
A Bind with the specified parameters.
Parameters
path
Path to the host to bind from.
volume
Volume path to the container to bind to.
accessMode
Access mode of the mount. See AccessMode for all options.
fun createBind(source: DockerVolume, destination: Volume, accessMode: AccessMode = AccessMode.DEFAULT): Bind
Creates a volume bind to the container.
Return
A Bind with the specified parameters.
Parameters
source
Docker volume instance to bind from.
destination
Volume path to the container to bind to.
accessMode
Access mode of the mount. See AccessMode for all options.