Skip to main content

Overview

Fetch the list of Docker images available in a specified environment. Returns an empty array if no environment is specified or if the Docker daemon is unavailable.

Endpoint

Query Parameters

integer
required
Environment ID to list images from. Required to return any results.

Authentication

Requires images:view permission for the specified environment.

Response

Returns an array of image objects:

Response Fields

string
Unique image identifier (SHA256 hash)
string[]
Repository tags associated with the image
string[]
Content-addressable digests
integer
Unix timestamp when the image was created
integer
Image size in bytes
integer
Total size including shared layers
integer
Number of containers using this image

Error Responses

object
Permission denied - user lacks images:view permission or environment access
object
Environment not found

Implementation

Usage Examples

Fetch Images for Environment

Filter Images in UI

Notes

  • Returns empty array on connection errors to prevent UI failures
  • Requires valid environment ID to return results
  • Enterprise users must have environment access permissions
  • Images are fetched directly from Docker daemon via Docker API