LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

crane-config

retrieve container image configuration

TLDR

Get image configuration
$ crane config [image]
copy
Get config as JSON
$ crane config [image] | jq .
copy

SYNOPSIS

crane config [options] image

DESCRIPTION

crane config retrieves the configuration blob for a container image. This includes environment variables, entrypoint, command, working directory, labels, exposed ports, and other image metadata defined in the OCI image specification.Output is in JSON format, making it easy to pipe to jq for field extraction.

PARAMETERS

image

Container image reference (e.g., `ubuntu:latest`, `ghcr.io/org/image:tag`).
--platform os/arch
Specify platform for multi-arch images (e.g., `linux/amd64`).

INSTALL

sudo pacman -S crane
copy
sudo apk add crane
copy
sudo zypper install crane
copy
brew install crane
copy
nix profile install nixpkgs#crane
copy

CAVEATS

Requires network access to the container registry. Private registries require authentication via `crane auth login`. Multi-arch images return the config for the host platform unless `--platform` is specified.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid