writePath

open suspend override fun writePath(inputStream: InputStream, path: Path)


suspend fun writePath(hostPath: Path, containerPath: Path, configure: suspend CopyArchiveToContainerCmd.() -> Unit = {})

Writes the content from the hostPath to containerPath.

As required by the Docker API, containerPath must be a directory.


suspend fun writePath(inputStream: TarArchiveInputStream, path: Path, configure: suspend CopyArchiveToContainerCmd.() -> Unit)

Writes the content from the inputStream to path.

As required by the Docker API, path must be a directory.