Import Docker Images for an Offline Installation of Open Collector and Beats
The Open Collector offline installation is intended for use when internet access is limited or unavailable. If your Open Collector host has internet access, please see Open Collector Installation and User Guide for setup instructions.
Prerequisites
Docker should be installed on the Virtual Machine.
For more information on installing Docker, see Install Docker Engine on RHEL.
A
logrhythmuser should be added to thedockeruser group.CODEsudo usermod -a -G docker logrhythmMake sure to log off and log in after adding the
logrhythmuser to thedockeruser group.
Install the Open Collector
Log in to Community to download the Open Collector Offline Installer, and copy the downloaded files to the Virtual Machine.
Extract the .tar file using the following command in a directory:
CODEtar -xvf OpenCollector<version>.tar.gzExecute the following shell script:
CODE./load_docker_images.shIf docker is not already available on the machine, then the script will prompt the following message:

Press 'y' if you want Docker to be installed with the help of this script. After a successful Docker installation, the
logrhythmuser should be added to thedockeruser group.CODEsudo usermod -a -G docker logrhythmOnce this has been completed, re-execute step 3.
Navigate to the newly created
ocbeatsdirectory:CODEcd ocbeats/- Make sure that both the
lrctlandversions.ymlfiles are in this directory.

Continue with configuring Open Collector as normal following the steps outlined at Configure the Open Collector. Then the individual Beat can be configured with existing commands that mention versions.yml explicitly.
Make sure to use the -V flag with the ./lrctl script while working with Open Collector, Metrics, and Beats.
See the examples below:
./lrctl -V versions.yml oc start
./lrctl -V versions.yml <beatname> start
./lrctl -V versions.yml oc config edit