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

    Stop a container

    post/containers/{id}/stop

    Path parameters

    idstring required

    ID or name of the container

    Query parameters

    signalstring

    Signal to send to the container as an integer or string (e.g. SIGINT).

    tinteger

    Number of seconds to wait before killing the container

    Response

    no error

    Changes