crane
Definition
Crane is a command-line tool used for managing container images, particularly in the context of the Go programming language. It is part of the go-containerregistry library and allows users to interact with container registries to perform operations such as pulling, pushing, and inspecting container images. Crane is designed to be simple and efficient, providing developers with a straightforward way to handle container images programmatically.
Secure Settings Example
# Pulling an image using Crane with authentication
crane pull --auth-token $TOKEN gcr.io/my-project/my-image:latest /local/path
Insecure Settings Example
# Pulling an image using Crane without authentication
crane pull gcr.io/my-project/my-image:latest /local/path