docs: refactored _Troubleshooting OpenShift Local_ (#3208)

This commit is contained in:
Fabrice Flore-Thébault 2023-07-13 15:13:23 +02:00 committed by GitHub
parent 96bfaeb22a
commit a344371818
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,28 @@ sidebar_position: 100
# Troubleshooting OpenShift Local
- Check which preset is defined. (`crc config get preset`)
- Check that `crc` binary is available in the user PATH (`/usr/local/bin/crc`)
- Check that `crc setup --check-only` is running without errors.
You can find here troubleshooting help for issues specific to OpenShift Local.
1. To verify that your user can run `crc`, verify that the `crc` binary is available in the user PATH (`/usr/local/bin/crc` on macOS and Linux).
2. To verify that the host is ready to run OpenShift Local, in a terminal, run this command and verify the output has no errors:
```shell-session
$ crc setup --check-only
```
Sample output:
```shell-session
INFO Using bundle path <bundle_path>
INFO Checking if running as non-root
INFO Checking if running inside WSL2
INFO Checking if crc-admin-helper executable is cached
crc-admin-helper executable is not cached
```
3. To verify the configured preset, in a terminal, run:
```shell-session
$ crc config get preset
```