Files
cheatsheet-tldr/tldr/linux/apptainer-delete
2026-01-13 00:19:20 +00:00

34 lines
1000 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# apptainer delete
> Delete container images from a remote library.
> More information: <https://apptainer.org/docs/user/main/cli/apptainer_delete.html>.
- Delete an image from the Container Library:
`apptainer delete library://{{user/collection/container}}:{{tag}}`
- Delete an image for a specific architecture:
`apptainer delete {{[-A|--arch]}} {{amd64|arm64|ppc64le}} library://{{user/collection/container}}:{{tag}}`
- Force delete an image without confirmation:
`apptainer delete {{[-F|--force]}} 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}}`
- Display help:
`apptainer delete {{[-h|--help]}}`