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

Request

  • Base URL
    /v1.49 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /v1.49/containers/{id}/archive
  • Auth
    none declared

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

Changes

No recorded changes to this operation across all 4 revisions of this API.