Follow these instructions to install ICR on your Red Hat-based system.
Note: This is a ICR development version repository, so there may be bugs found in this version
First, you need to add the ICR repository to your system. Run the following command:
sudo wget -O /etc/yum.repos.d/icr.repo https://dev.rpm.openrefactory.com/icr.repo
Next, you need to update the icr repository for latest data:
sudo dnf repolist
Install the required dependencies (Docker CE) by running the following command:
sudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Now, install ICR using the following command:
sudo dnf install icr-5.0.0-dev
Once ICR is installed, you can start the ICR service:
icr -c start
To know all command, run the following command:
icr -h
If your system has a firewall enabled, you need to allow traffic on port 3001 (the default ICR port). Use the following commands:
sudo firewall-cmd --zone=public --add-port=3001/tcp --permanent
sudo firewall-cmd --reload
Open a web browser and navigate to the following URL to access the ICR web interface:
https://your_server_ip_or_domain:3001
You will be prompted to enter the ICR unlock key. Default unlock key:
username: admin and password: admin
Congratulations! You have successfully installed ICR on your Red Hat-based system.
Uninstalling ICR is straightforward. Simply run the following command:
sudo dnf remove icr