Restarting the Air-gapped Repository
Describes how to restart an air-gapped repository.
About this task
Run restart on the local mirror host to restart an existing
air-gapped repository container.
NOTE
The following command does not synchronize with the upstream product
repository.Command Syntax
./airgap-repository restart [--runtime auto|docker|podman] [--container-name NAME] [--advertise-host HOST] [--port PORT] [--dry-run]
Command Help
./airgap-repository restart --help
./airgap-repository restart -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. |
--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 restart of the repository container. |
-h, --help |
No | Use the option to view command help. |
Procedure
Run the airgap-repository start binary on the command line of the local mirror
host:
./airgap-repository restart \
--runtime docker \
--advertise-host mirror.example.test
Results
NFO: Using container runtime: docker
mapr-airgap-repository
Air-gap repository URL: http://mirror.example.test:8080After the readiness check succeeds, the published packages are available over HTTP. The command does not download or update product packages.