/
/Docker Engine API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 1h ago · Updated 11mo 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

    Remove a container

    delete/containers/{id}

    Path parameters

    idstring required

    ID or name of the container

    Query parameters

    vboolean

    Remove anonymous volumes associated with the container.

    forceboolean

    If the container is running, kill it before removing it.

    linkboolean

    Remove the specified link associated with the container.

    Response

    no error

    Changes