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

env
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

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

Error Responses

403
object
Permission denied - user lacks images:view permission or environment access
404
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