/
/Docker Engine API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 2h ago · Updated 1mo ago
Config5
Container25
  • getList containers
  • postCreate a container
  • getInspect a container
  • getList processes running inside a container
  • getGet container logs
  • getGet changes on a container’s filesystem
  • getExport a container
  • getGet container stats based on resource usage
  • postResize a container TTY
  • postStart a container
  • postStop a container
  • postRestart a container
  • postKill a container
  • postUpdate a container
  • postRename a container
  • postPause a container
  • postUnpause a container
  • postAttach to a container
  • getAttach to a container via a websocket
  • postWait for a container
  • deleteRemove a container
  • getGet an archive of a filesystem resource in a container
  • putExtract an archive of files or folders to a directory in a container
  • headGet information about files in a container
  • postDelete stopped containers
Distribution1
Exec4
Image15
Network7
Node4
Plugin11
Secret5
Service6
Session1
Swarm7
System7
Task3
Volume6
    Container

    Get an archive of a filesystem resource in a container

    Get a tar archive of a resource in the filesystem of container id.

    get/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

    Changes