Skip to main content

Removing images

To remove a tagged image:

policy rm [<registry>/]<organization-name>/<repository-name>:<tag>

Options

-a, --all: when remote is set, remove all tags and the policy reference

-f, --force: don't ask for confirmation

Example

$ policy rm ogazitt/peoplefinder:1.0.0

Removed reference.
reference: ogazitt/peoplefinder:1.0.0