crane-mutate
modify image metadata without rebuilding
TLDR
Add labels to an image
$ crane mutate [image] --label [key=value] -t [new:tag]
Set entrypoint$ crane mutate [image] --entrypoint [/app/start] -t [new:tag]
Add environment variables$ crane mutate [image] --env [KEY=value] -t [new:tag]
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.
SEE ALSO
crane(1), crane-append(1)
