Skip to main content

Pull a container image

POST 

/node/:hostname/container/docker/pull

Pull a container image on the target node.

Request

Path Parameters

    hostname stringrequired

    Possible values: non-empty

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

Body

required

The image to pull.

    image stringrequired

    Image reference to pull (e.g., "nginx:latest", "docker.io/library/alpine:3.18").

Responses

Image pull accepted.

Schema

    job_id uuid

    The job ID used to process this request.

    results

    object[]

    required

  • Array [

  • hostname stringrequired

    The hostname of the agent.

    image_id string

    The pulled image ID.

    tag string

    The image tag that was pulled.

    size int64

    Image size in bytes.

    changed boolean

    Whether the operation modified system state.

    error string

    Error message if the agent failed.

  • ]

Loading...