FreeKB - OpenShift Install OpenShift CodeReady Containers on Linux or Mac
OpenShift - Install OpenShift CodeReady Containers on Linux or Mac

Hardware Requirements for CodeReady Containers

  • Minimum 4 virtual CPUs
  • Minimum 9 GB of memory (RAM)
  • Minimum 35 GB of storage

Operating System Requirements for CodeReady Containers

  • Windows 10 Pro Fall Creators Update or higher
  • MacOS 10.12 Sierra or higher
  • Linux Red Hat (RHEL) or CentOS 7.5 or higher
  • Linux Fedora 2 latest stable release

Note that Ubuntu 18.04 LTS or higher and Debian 10 or higher are not supported


Network Manager

Network Manager must be installed before OpenShift can be issued. The yum list command can be used to determine if NetworkManager is installed.

yum list NetworkManager

 

If NetworkManager is not installed, the yum install command can be used to install NetworkManager.

yum install NetworkManager

 


Download installation binaries

  1. Go to cloud.redhat.com/openshift/install.
  2. Sign in with your Red Hat username and password.
  3. Select Run on Laptop or Local.
  4. Select your Operating System and select Download Code-Ready Containers.
    1. On a Windows OS, this will download a file such as crc-windows-amd64.zip.
    2. On a Mac OS, this will download a file such as crc-masos-amd64.tar.xz.
    3. On a Linux OS, this will download a file such as crc-linux-amd64.tar.xz.
  5. Select Download pull secret. This will download a file such as pull-secret.txt.

 


Install

In a terminal, issue the following command.

tar -xpvf crc-linux-amd64.tar.xz

 

Move into the newly extacted directory.

cd crc-linux-<version>-amd64

 

List the directories in your $PATH.

echo $PATH

 

If /usr/local/bin is not in your $PATH, add the following to your /home/username/.bash_profile file.

PATH=$PATH:/usr/local/bin
export PATH

 

Copy the crc command to /usr/local/bin.

cp crc /usr/local/bin

 

The crc setup command can be used to install and setup OpenShift CodeReady Containers.

crc setup

 

The crc start command is used to start OpenShift CodeReady Containers. 

crc start

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter 9f1b2 in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |