Skip to content

NoImageError

Raised when an image reference cannot be found.

import container.docker: docker

try
  docker.image "nonexistent:latest"
catch docker.NoImageError: e
  echo "not found: $e.ref"

Inherits from: std.RuntimeError

Fields

ref

The image reference that was not found