Removing the Air-gapped Repository
Describes how to remove an existing air-gapped repository.
About this task
NOTE
When you remove an air-gapped repository, only the serving container is
deleted. The persistent data directory, publications, and caches are preserved.
start cannot recreate the removed container.For an ordinary synchronization retry, use the existing running container and update the air-gapped repository.
Command Syntax
./airgap-repository remove [--runtime auto|docker|podman] [--container-name NAME] [--data-dir PATH] [--dry-run]
Command Help
./airgap-repository remove --help
./airgap-repository remove -h
Command Parameters
| Parameter | Required? | Description |
|---|---|---|
--runtime auto|docker|podman |
No | The 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. |
--dry-run |
No | Use the option to preview the operation without removal of the repository container. |
-h, --help |
No | Use the option to view command help. |
Run the command to remove the air-gapped repository on the local mirror host on which your air-gapped repository is running.
Procedure
Run the
airgap-repository remove binary on the command
line:
./airgap-repository remove --runtime docker