curl --request POST \
--url http://localhost:8000/docker/pull-image \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"image_name": "<string>"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Initiate Docker image pull as background task. Returns immediately with task status for monitoring.
Args: image: DockerImage object containing the image name to pull docker_service: Docker service dependency
Returns: Status of the pull operation initiation
curl --request POST \
--url http://localhost:8000/docker/pull-image \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"image_name": "<string>"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Docker image name with optional tag (e.g., 'hummingbot/hummingbot:latest')
Successful Response
Was this page helpful?