put Archive
suspend fun putArchive(id: String, path: String, body: ByteReadChannel, noOverwriteDirNonDir: Boolean? = null, copyUIDGID: Boolean? = null): Result<Unit, ErrorResponse>
Extract an archive of files or folders into a directory in a container
Upload a tar archive to be extracted to a path in the filesystem of container id.
Return
Operation response on success, or the Docker error response. Transport failures and cancellation can throw.
Parameters
id
Container ID or name.
path
Path inside the container filesystem.
body
Tar archive channel consumed by this operation; retries require a fresh source.
no Overwrite Dir Non Dir
Prevent replacing a directory with a file or vice versa.
copy UIDGID
Preserve user and group ownership from the archive.