Untag Image

Description

Untag an image.

Untagging an image will result in the removal of tag. If registry not specified - default is used.

Command

codefresh untag <id> [tags..]

Arguments

Option Alias Default Description
id Docker image id
names Tag names

Options

Option Alias Type Default Description
--help Print help information
--registry -r Registry integration name

Examples

Remove tag ‘1.0.0’ from image ‘2dfacdaad466’ on default registry

codefresh untag 2dfacdaad466 1.0.0

Remove tag ‘2dfacdaad466’ with a new tag: ‘1.0.0’ on dockerhub

codefresh untag 2dfacdaad466 1.0.0 --registry dockerhub

Remove tags ‘1.0.0’ and ‘my-tag’ from image’2dfacdaad466’

codefresh untag 2dfacdaad466 1.0.0 my-tag