LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

crane-mutate

modify image metadata without rebuilding

TLDR

Add labels to an image
$ crane mutate [image] --label [key=value] -t [new:tag]
copy
Set entrypoint
$ crane mutate [image] --entrypoint [/app/start] -t [new:tag]
copy
Add environment variables
$ crane mutate [image] --env [KEY=value] -t [new:tag]
copy

SYNOPSIS

crane mutate [options] image

DESCRIPTION

crane mutate modifies container image configuration without rebuilding. It can change labels, entrypoint, environment variables, and other metadata.

PARAMETERS

-t, --tag tag

Tag for the mutated image.
--label key=value
Add or override a label.
--entrypoint cmd
Set the entrypoint.
--cmd cmd
Set the command.
--env key=value
Add environment variable.
--user user
Set the user.
--workdir dir
Set the working directory.

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

SEE ALSO

RESOURCES

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