ICR Red Hat Repository

Setup ICR Repository on Red Hat

Follow these instructions to install ICR on your Red Hat-based system.

1. Add the ICR Repository

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://rpm.openrefactory.com/icr.repo

2. Update the repository

Next, you need to update the icr repository for latest data:

sudo dnf repolist

3. Install Dependencies

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

4. Install ICR

Now, install ICR using the following command:

sudo dnf install icr-5.0.0

5. Start ICR

Once ICR is installed, you can start the ICR service:

icr -c start

To know all command, run the following command:

icr -h

6. Open Firewall Ports

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

7. Access ICR

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

Installation Completed!

Congratulations! You have successfully installed ICR on your Red Hat-based system.

Uninstalling ICR

Uninstalling ICR is straightforward. Simply run the following command:

sudo dnf remove icr