Step-by-Step Instructions
1. Register account at Redhat
2. Go Console
3. Download OpenShift local
4. Unzipped the downloaded folder at C:\Users\username\crc
5. Open Powershell and run crc setup
. Will take awhile to setup.
crc setup
6. After setup is down run crc start
crc start
// if face error
crc start --log-level debug
- It will eventually prompt you for the
pull secret
. - Copy from the console and right-click to paste to the terminal.
- It will then take awhile to start up the container.
7. Test that Openshift Cli oc is properly installed.
Copy and paste the following command:
oc login -u developer https://api.crc.testing:6443
8. Head over to Sandbox and start a 30-day trial sandbox account.
9. Login to your sandbox once provisioned and download oc CLI
Extract the file and save it to "C:\Users\username\oc-folder" or any preferred location.
10. Add the oc CLI file path to the environment variables
11. Open powershell and run oc
to verify.
12. Logging into sandbox via cli
Go over to sandbox console and copy login command
This will open a new tab with your API token and login command.
Top comments (0)