Container

Kill a container

Changed on

Send a POSIX signal to a container, defaulting to killing to the container.

post/containers/{id}/kill

Request

  • Base URL
    /v1.57 (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

signalstring

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

Response

no error

Changes

    • info

      api tag Container added

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • breaking

      for the query request parameter signal, default value SIGKILL was removed

    • info

      api tag Container removed

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status