Rename an image
Usage¶
Refer to the options section for an overview of available OPTIONS for this command.
Description¶
Redefine the nametag of an image where NAMETAG follows the name:tag format. If :tag is omitted, :latest is assumed.
A nametag may contain lowercase and uppercase letters, digits, underscores, periods and dashes. A nametag may not start with a period or a dash and may contain a maximum of 128 characters.
For example uses of this command, refer to the examples section below.
Options¶
| Name, shorthand | Description |
|---|---|
--help | Show this message and exit. |
Examples¶
Tag an image referenced by ID¶
To tag an image with ID "2e91f95bf959":
Note that since a tag is not specified Kleened sets it to latest, i.e., 13.2-STABLE/base:latest.
Tag an image referenced by name¶
To tag a local image with FreeBSD additional releng REVISION information:
Note that since a tag is not specified Kleened sets it to latest.
Tag an image referenced by nametag¶
Re-tag an image and replace tag "test" with "version1.0.test":
Parent command¶
| Command | Description |
|---|---|
klee image |