docker-rust icon indicating copy to clipboard operation
docker-rust copied to clipboard

Kill a container

Open abh1nav opened this issue 11 years ago • 0 comments

Example request:

POST /containers/e90e34656806/kill HTTP/1.1

Example response:

HTTP/1.1 204 OK

Query Parameters

  • signal - Signal to send to the container: integer or string like "SIGINT". When not set, SIGKILL is assumed and the call will waits for the container to exit.

Status Codes:

  • 204 – no error
  • 404 – no such container
  • 500 – server error

abh1nav avatar Jun 15 '14 18:06 abh1nav