Stopping the Air-gapped Repository

Describes how to stop an air-gapped repository.

About this task

Command Syntax

./airgap-repository stop [--runtime auto|docker|podman] [--container-name NAME] [--dry-run]

Command Help

./airgap-repository stop --help
./airgap-repository stop -h

Command Parameters

Table 1. airgap-repository stop 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.
--dry-run No Use the option to preview the operation without stopping the repository container.
-h, --help No Use the option to view command help.
Run the following command to stop the air-gapped repository on the local mirror host on which your air-gapped repository is running.

Procedure

Run the airgap-repository stop binary on the command line:
./airgap-repository stop --runtime docker

Results

The air-gapped repository stops running on the local mirror host, and is unavailable to download packages for installation of HPE Data Fabric. You should see an output similar to the following:
INFO: Using container runtime: docker
mapr-airgap-repository

The container, repository publications, and archive cache remain available for a later start operation.