v33

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-175267122.5 KB

Pull and convert OCI image

post/images

Request body

namestring required

OCI image reference (e.g., docker.io/library/nginx:latest)

tagsTags

User-defined key-value tags.

Example request

{
  "name": "docker.io/library/nginx:latest",
  "tags": {
    "team": "backend",
    "env": "staging"
  }
}

Response

Image build started (async)

namestring required

Normalized OCI image reference (tag or digest)

digeststring required

Resolved manifest digest

status'pending' | 'pulling' | 'converting' | 'ready' | 'failed' required

Build status

queue_positioninteger nullable

Position in build queue (null if not queued)

errorstring nullable

Error message if status is failed

size_bytesinteger nullable

Disk size in bytes (null until ready)

entrypointstring[] nullable

Entrypoint from container metadata

cmdstring[] nullable

CMD from container metadata

envobject

Environment variables from container metadata

tagsTags

User-defined key-value tags.

working_dirstring nullable

Working directory from container metadata

created_atstring date-time required

Creation timestamp (RFC3339)

Example response

{
  "name": "docker.io/library/nginx:latest",
  "digest": "sha256:abc123def456...",
  "status": "ready",
  "queue_position": 2,
  "error": "pull failed: connection timeout",
  "size_bytes": 536870912,
  "entrypoint": [
    "/docker-entrypoint.sh"
  ],
  "cmd": [
    "nginx",
    "-g",
    "daemon off;"
  ],
  "env": {
    "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
  },
  "tags": {
    "team": "backend",
    "env": "staging"
  },
  "working_dir": "/app",
  "created_at": "2025-01-15T10:00:00Z"
}