openshift, crc,

CodeReady Containers - CRC

Gini Gini Follow · 2 mins read
Share this

CodeReady Containers - CRC (OpenShift 4.x)

Red Hat CodeReady Containers

Download CRC Package

Refer : Install OpenShift on a laptop with CodeReady Containers

  • Visit
  • Choose install on Laptop ->
  • Download for your OS choise (Windows10, MacOS, Linux)
  • Move package to your machine folder
  • extract the package tar -xf FILENAME.tar.xz

  • Download and keep the pull secret from same location. You need that later during crc start

Required software packages

CodeReady Containers requires the libvirt and NetworkManager packages.

yum install NetworkManager

Enable sudo for user

[[email protected] ~]$ sudo cat /etc/sudoers.d/devops
[sudo] password for devops:

Setup Cluster

$ cd crc-linux-1.11.0-amd64
$ export PATH=/home/devops/crc-linux-1.11.0-amd64:$PATH

## set up your host operating system for the CodeReady Containers virtual machine.
## Use normal user account
$ crc setup

## Start cluster
## if you are on a terminal without GUI, you will have difficulty to copy/paste pull secret content. in that you can mention the pull secret ful
$ crc start -p /path-to/pull-secret

Access your Cluster

$ eval $(crc oc-env)
$ oc login -u developer -p developer

## see credentials
$ crc console --credentials
To login as a regular user, run 'oc login -u developer -p developer https://api.crc.testing:6443'.
To login as an admin, run 'oc login -u kubeadmin -p 8rynV-SeYLc-h8Ij7-YPYcz https://api.crc.testing:6443'

## Access Console
$ crc console
Opening the OpenShift Web Console in the default browser...


  • Issue : After crc start and crc console, oc login fails with Internal error occurred: unexpected response: 503 for a while #740

  • Issue : Unable to connect to console

$ crc ip
$ nmcli conn show


Written by Gini Follow
Backpacker, Foodie, Techie

Latest Stories