This section describes how to use CodeReady Containers to set up OpenShift 4.
Prerequisites
-
An installation of CodeReady Containers. See Installing CodeReady Containers.
Procedure
-
Set up your host machine for CodeReady Containers:
$ crc setup
-
Remove any previous cluster
$ crc delete
-
Start the CodeReady Containers virtual machine with at least 12 GB of RAM.
$ crc start --memory 12288
-
When prompted, supply your user pull secret.
-
Take note of the password for the user
kudadminthat is displayed at the end of the installation. -
Access the OpenShift web console
$ crc console
-
Log in a first time with the
developeraccount (password:developer) to initialize a first user using OAuth. -
Log out.
-
Log in again with the previously mentioned
kubadminuser and password. -
Follow the procedure for Installing Che on OpenShift 4 from OperatorHub.
Additional resources
-
CodeReady Containers on GitHub. See CodeReady Containers - OpenShift 4 on your Laptop.