apptainer-delete
Delete container images from a remote library.
TLDR
Remove an image from the Container Library
$ apptainer delete library://[user/collection/container]:[tag]
Remove only the build for one architecture$ apptainer delete --arch [arm64] library://[user/collection/container]:[tag]
Skip the confirmation prompt, which scripts need$ apptainer delete --force library://[user/collection/container]:[tag]
Target a self-hosted library server$ apptainer delete --library [https://library.example.com] library://[user/collection/container]:[tag]
Talk to a server over plain HTTP$ 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)
