Forrest logo
back to the skopeo tool

skopeo:tldr:bdaa2

skopeo: Delete an image from a registry.
$ skopeo delete docker://${registry_hostname}/${image:tag}
try on your machine

The command "skopeo delete" is used to delete a container image from a remote container registry.

Here is the breakdown of the command:

  • skopeo: This is the command-line tool used to work with container images and image repositories.
  • delete: This sub-command is used to delete a container image.
  • docker://${registry_hostname}/${image:tag}: This is the URL of the container image you want to delete. It follows the format: docker:///:.
    • registry_hostname: This is the hostname or IP address of the remote container registry where the image is stored.
    • image:tag: This specifies the name and tag of the container image you want to delete. The image name represents the repository or namespace, and the tag represents the version or label of the image.

By running this command, you are instructing skopeo to connect to the specified remote container registry and delete the container image with the specified image name and tag.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the skopeo tool