Viewing Status of an Air-gapped Repository
Describes the procedure to view the status of the air-gapped repository that is meant to download HPE Data Fabric packages.
About this task
airgap-repository status command facilitates the viewing of
your air-gapped repository.Command Syntax
./airgap-repository status [--runtime auto|docker|podman] [--container-name NAME] [--advertise-host HOST] [--port PORT] [--dry-run]Command Help
./airgap-repository stop --help
./airgap-repository stop -h
Command Parameters
| Parameter | Required? | Description |
|---|---|---|
--runtime auto|docker|podman |
No | The container runtime to choose. Default:
auto; select docker or
podman explicitly when required. |
--container-name NAME |
No | The managed container name. Default:
mapr-airgap-repository. |
--advertise-host HOST |
Recommended | Client-reachable hostname or IP printed in the repository URL. |
--port PORT |
No |
The port number. Default: 8080. |
--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. |
To view the status of the air-gapped repository:
Procedure
Run the following command on the command line.
./airgap-repository status
Results
The following is a sample output:
INFO: Using container runtime: docker
Container name: mapr-airgap-repository
Runtime: docker
Container state: running
Health state: healthy
Image: <selected-image-reference>
Host port: 8080
Advertised URL: http://mirror.example.test:8080
Data directory: /var/lib/mapr-airgap-repository
Active publication: repositories/<publication-id>
Repository disk usage: <size>
Available disk space: <free-space>
Repository status: ready