← 返回命令列表

Linux command

apptainer-delete 命令

安全

复制后可按需替换文件名、目录或参数。

常用示例

Delete an image

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

Example

apptainer delete -A [amd64|arm64|ppc64le] library://[user/collection/container]:[tag]

Force delete

apptainer delete -F library://[user/collection/container]:[tag]

Example

apptainer delete --library [https://library.example.com] library://[user/collection/container]:[tag]

Example

apptainer delete --no-https library://[hostname/user/collection/container]:[tag]

说明

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.

参数

-A, --arch _architecture_
Delete the image for a specific CPU architecture
-F, --force
Force delete without confirmation prompt
--library _url_
Specify an alternate Container Library URL
--no-https
Use HTTP instead of HTTPS for the connection

FAQ

What is the apptainer-delete command used for?

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.

How do I run a basic apptainer-delete example?

Run `apptainer delete library://[user/collection/container]:[tag]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -A, --arch _architecture_ do in apptainer-delete?

Delete the image for a specific CPU architecture