canasta image

From Canasta Wiki

canasta > image

canasta image

Manage locally built images and reclaim image storage

Synopsis

image push pushes a locally built image to the in-cluster registry of a Kubernetes host, the registry that serves locally built images (canasta create --build-from, build: sidecars) to the cluster's pods. It is Kubernetes only: on Docker Compose, a locally built tag is directly usable with no push. image prune reclaims image storage on Docker Compose and Kubernetes hosts alike.

image build-args, image set-build-arg and image unset-build-arg show and change the build arguments an instance created with --build-from is built with, on both orchestrators.

Subcommands

This command requires a subcommand:

  • build-args — Show the build arguments of an instance built from source
  • prune — Reclaim container image storage on a host
  • push — Build and push a local image to the in-cluster registry
  • set-build-arg — Set build arguments of an instance built from source and rebuild it
  • unset-build-arg — Remove build arguments of an instance built from source and rebuild it

Global flags

Flag Shorthand Description Default Required Orchestrator
--help -h Show help message and exit Both
--verbose -v Enable verbose output Both