Skip to content

Instantly share code, notes, and snippets.

@robstryker
Created August 23, 2021 20:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robstryker/4f817cb778d7b20f81f26d9c5477d50f to your computer and use it in GitHub Desktop.
Save robstryker/4f817cb778d7b20f81f26d9c5477d50f to your computer and use it in GitHub Desktop.
c:\apps\crc_test1\installation>crc delete
Machine does not exist. Use 'crc start' to create it
c:\apps\crc_test1\installation>crc cleanup
INFO Removing hosts file records added by CRC
INFO Removing pull secret from the keyring
INFO Removing older logs
INFO Removing CRC Machine Instance directory
INFO Removing the crc VM if exists
INFO Removing dns server from interface
INFO Will run as admin: Remove dns entry for default switch
Cleanup finished
c:\apps\crc_test1\installation>
c:\apps\crc_test1\installation>crc setup --check-only
INFO Checking if current user is in Hyper-V Admins group
INFO Checking if CRC bundle is extracted in '$HOME/.crc'
INFO Checking if c:\apps\crc_test1\installation\crc_hyperv_4.8.4.crcbundle exists
Your system is correctly setup for using CodeReady Containers, you can now run 'crc start' to start the OpenShift cluster
c:\apps\crc_test1\installation>crc setup --log-level debug
DEBU CodeReady Containers version: 1.31.2+19538dab
DEBU OpenShift version: 4.8.4 (not embedded in executable)
DEBU Running 'crc setup'
INFO Checking if current user is in Hyper-V Admins group
DEBU Running '$sid = New-Object System.Security.Principal.SecurityIdentifier("S-1-5-32-578")
@([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole($sid)'
INFO Checking if CRC bundle is extracted in '$HOME/.crc'
INFO Checking if c:\apps\crc_test1\installation\crc_hyperv_4.8.4.crcbundle exists
DEBU c:\apps\crc_test1\installation\crc_hyperv_4.8.4.crcbundle exists
Your system is correctly setup for using CodeReady Containers, you can now run 'crc start' to start the OpenShift cluster
DEBU Running '(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ReleaseId).ReleaseId'
DEBU Running '(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion").EditionID'
c:\apps\crc_test1\installation>crc start --log-level debug
DEBU CodeReady Containers version: 1.31.2+19538dab
DEBU OpenShift version: 4.8.4 (not embedded in executable)
DEBU Running 'crc start'
DEBU Total memory of system is 34307870720 bytes
DEBU No new version available. The latest version is 1.31.2
DEBU Running '(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ReleaseId).ReleaseId'
DEBU Running '(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion").EditionID'
Is CodeReady Containers tray application running? Cannot reach daemon API: Get "http://unix/api/version": open \\.\pipe\crc-http: The system cannot find the file specified.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment