'CodeReady Containers not starting
I'm using the latest version of CodeReady Containers but after the first run, it doesn't start anymore:
>crc start -p pull-secret.txt
Is '/Applications/CodeReady Containers.app' running? Cannot reach daemon API: Get
"http://unix/api/version": dial unix /Users/user/.crc/crc-http.sock: connect:
connection refused
I tried to delete and cleanup but it doesn't help.
>crc status --log-level debug
DEBU CodeReady Containers version: 1.38.0+659b2cbd
DEBU OpenShift version: 4.9.12 (bundle installed at /Applications/CodeReady Containers.app/Contents/Resources/crc_hyperkit_4.9.12.crcbundle)
DEBU Running 'crc status'
DEBU Checking file: /Users/user/.crc/machines/crc/.crc-exist
Machine does not exist. Use 'crc start' to create it
>crc config view
- autostart-tray : false
- consent-telemetry : no
- cpus : 6
- memory : 16384
- pull-secret-file : /Users/user/openshift/pull-secret.txt
Same issue appears on both MacOS and Windows. Any idea on how to solve? Or alternatively other ways to install Openshift locally for free?
Solution 1:[1]
In one shell window run "crc daemon". Open another shell window and run "crc start".
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Sean.Ruffatti |