Copy

Get information about files in a container

Changed on

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

head/containers/{id}/archive

Request

  • Base URL
    /v1.24 (relative, and the document was published on a file host, not at the API’s origin)
  • 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