LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

apptainer-delete

Delete container images from a remote library.

TLDR

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

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
copy
sudo pacman -S apptainer
copy
sudo apk add apptainer
copy
sudo zypper install apptainer
copy
brew install apptainer
copy
nix profile install nixpkgs#apptainer
copy

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

RESOURCES

Copied to clipboard
Kai