Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Destroy

Kowshik Prakasam and Pieter Noordhuis edited this page Feb 28, 2013 · 1 revision

Destroys a container.

When a container is destroyed, its resource allocations are released, its filesystem is removed, and all references to its handle are removed.

All resources that have been acquired during the lifetime of the container are released. Examples of these resources are its subnet, its UID, and ports that were redirected to the container.

TODO Link to list of resources that can be acquired during the lifetime of a container.

Request

  • handle: Container handle.

Response

Empty.

Errors

  • When handle does not refer to a container.

Definition

package warden;

message DestroyRequest {
  required string handle = 1;
}

message DestroyResponse {
}
Clone this wiki locally