Purging Air-gapped Repository Data
Describes how to purge data related to an air-gapped repository after removing the repository.
About this task
NOTE
You must be sure that you want to delete all persistent repository content.
You cannot retrieve the deleted content after the purge operation.- Repository publications
- Cached product archives
- Downloader scripts
- Staging data and other content
Command Syntax
./airgap-repository purge-data --yes [--runtime auto|docker|podman] [--container-name NAME] [--data-dir PATH] [--dry-run]
Command Help
./airgap-repository purge-data --help
./airgap-repository purge-data -h
Command Parameters
| Parameter | Required? | Description |
|---|---|---|
--runtime auto|docker|podman |
No | Runtime selection. Default: auto; Use
docker or podman
explicitly when required. |
--container-name NAME |
No | The managed container name. Default:
mapr-airgap-repository. |
--data-dir PATH |
No | Default: /var/lib/mapr-airgap-repository.
The absolute path of the managed mount of the repository
container. |
--yes |
Yes | Use the option for permanent data deletion. |
--dry-run |
No | Use the option to preview the operation without performing the purge. |
-h, --help |
No | Use the option to view command help. |
Procedure
Run the
airgap-repository purge-data binary on the command
line:
Use the exact custom container name and data path from creation if they
differ from these defaults. Review the intended operation with
--dry-run before deleting.
./airgap-repository purge-data --yes [--runtime auto|docker|podman] [--container-name NAME] [--data-dir PATH] [--dry-run]