Container

Remove a container

Changed on
delete/containers/{id}

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

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

    • 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

    • info

      added the non-success response with the status

    • breaking

      for the query request parameter force, default value false was removed

    • breaking

      for the query request parameter link, default value false was removed

    • breaking

      for the query request parameter v, default value false 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

    • info

      removed the non-success response with the status