apptainer delete

Deletes requested image from a URI

Synopsis

The ‘delete’ command allows you to delete an image from a given URI. Supported URIs include:

library: Delete an image from the currently configured library

library://user/collection/container[:tag]

oras: Delete a SIF image from an OCI registry that supports ORAS.

oras://registry/namespace/image:tag

apptainer delete [delete options...] <imageRef> [flags]

Examples

From a library
$ apptainer delete --arch=amd64 library://username/project/image:1.0

From a registry
$ apptainer delete --arch=amd64 oras://registry/project/image:1.0

Options

-A, --arch string                 specify requested image arch (default "amd64")
    --docker-host string          specify a custom Docker daemon host
    --docker-login[=true|false]   login to a Docker Repository interactively
-F, --force[=true|false]          delete image without confirmation
-h, --help[=true|false]           help for delete
    --library string              delete images from the provided library
    --no-https[=true|false]       use http instead of https for docker:// oras:// and library://<hostname>/... URIs

SEE ALSO

  • apptainer - Linux container platform optimized for High Performance Computing (HPC) and Enterprise Performance Computing (EPC)

Auto generated by spf13/cobra on 1-Dec-2026