apptainer-delete

Delete container images from a remote library.

TLDR

Delete an image from the Container Library
$ apptainer delete library://[user/collection/container]:[tag]
Delete an image for a specific architecture
$ apptainer delete -A [amd64|arm64|ppc64le] library://[user/collection/container]:[tag]
Force delete an image without confirmation
$ apptainer delete -F library://[user/collection/container]:[tag]
Delete an image from a specific library server
$ apptainer delete --library [https://library.example.com] library://[user/collection/container]:[tag]
Delete an image using HTTP instead of HTTPS
$ apptainer delete --no-https library://[hostname/user/collection/container]:[tag]

SYNOPSIS

apptainer delete [options] library://path

DESCRIPTION

apptainer delete removes container images from a remote Container Library. This is a destructive operation that permanently removes the specified image or image tag from the remote registry.The command requires authentication with the target library and appropriate permissions to delete images.

PARAMETERS

-A, --arch architecture

Delete the image for a specific CPU architecture (default: amd64).
-F, --force
Force delete without confirmation prompt.
--library url
Specify the Container Library URL to delete from.
--no-https
Use HTTP instead of HTTPS for the library connection.

INSTALL

sudo dnf install apptainer
sudo pacman -S apptainer
sudo apk add apptainer
sudo zypper install apptainer
brew install apptainer
nix profile install nixpkgs#apptainer

CAVEATS

This operation is irreversible. Deleted images cannot be recovered. Ensure you have backups of important container images before deletion. Only the image owner or library administrators can delete images.

SEE ALSO

apptainer(1), apptainer-push(1), apptainer-pull(1), apptainer-search(1)

RESOURCES

Source code · Homepage · Documentation