put_container_archive_from_file
Upload a tar archive from a host file directly into a container at a specified path, streaming large files to the daemon for efficiency.
Instructions
Upload a tar archive from a file on the server host to a path inside a container.
Streams the file straight to the daemon, so it handles large archives that would be impractical
to pass in band via put_container_archive. file_path is read by the server's user; ~ is expanded.
args: id_or_name - The container id or name path - Destination path inside the container (must already exist) file_path - Path on the server host to the tar archive to upload returns: bool - True if the upload succeeded
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| file_path | Yes | ||
| id_or_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |