Skip to main content

Remove a container image

DELETE 

/node/:hostname/container/docker/image/:image

Remove a container image from the target node. The image parameter accepts an image name or ID.

Request

Path Parameters

    hostname stringrequired

    Possible values: non-empty

    Target agent hostname, reserved routing value (_any, _all), or label selector (key:value).

    image stringrequired

    Possible values: non-empty

    Image name or ID to remove (e.g., "nginx:latest" or "sha256:abc123").

Query Parameters

    force boolean

Responses

Image removal accepted.

Schema

    job_id uuid

    The job ID used to process this request.

    results

    object[]

    required

  • Array [

  • hostname stringrequired

    The hostname of the agent.

    id string

    Container identifier.

    message string

    Status message.

    changed boolean

    Whether the operation modified system state.

    error string

    Error message if the agent failed.

  • ]

Loading...