v51

latestSwagger 2.0raw.githubusercontent.com2026-08-01108160461.1 KB
Container

Get information about files in a container

A response header X-Docker-Container-Path-Stat is returned, containing a base64 - encoded JSON object with some filesystem header information about the path.

head/containers/{id}/archive

Path parameters

idstring required

ID or name of the container

Query parameters

pathstring required

Resource in the container’s filesystem to archive.

Response

no error