v1

latestOpenAPI 3.1.02026-07-2675394318.9 KB
inspect

Download a file or a directory from image as tar archive

Streams the specified path inside the image root filesystem as a POSIX PAX tar archive. A directory becomes the archive root; a regular file becomes a single-entry archive. The response is chunked; total size is not known upfront. Served as an attachment, filename is the path with / replaced by _ plus .tar (e.g. /bin/true -> bin_true.tar).

get/inspect/{image_uuid}/archive

Path parameters

image_uuidstring uuid required

A UUID string

Example:12345678-9abc-baba-deda-0123456789ab

The UUID of the image to inspect

Query parameters

pathstring required

The path of the file or directory to archive inside the image, e.g. /etc

Response

OK