This section describes how to use CodeReady Containers to set up OpenShift 4.

Prerequisites

Procedure

  1. Set up your host machine for CodeReady Containers:

    $ crc setup
  2. Remove any previous cluster

    $ crc delete
  3. Start the CodeReady Containers virtual machine with at least 12 GB of RAM.

    $ crc start --memory 12288
  4. When prompted, supply your user pull secret.

  5. Take note of the password for the user kudadmin that is displayed at the end of the installation.

  6. Access the OpenShift web console

    $ crc console
  7. Log in a first time with the developer account (password: developer) to initialize a first user using OAuth.

  8. Log out.

  9. Log in again with the previously mentioned kubadmin user and password.

  10. Follow the procedure for Installing Che on OpenShift 4 from OperatorHub.

Additional resources