πŸš€ DevOps & SRE Certification Program πŸ“… Starting: 1st of Every Month 🀝 +91 8409492687 πŸ” Contact@DevOpsSchool.com

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours scrolling social media and waste money on things we forget, but won’t spend 30 minutes a day earning certifications that can change our lives.
Master in DevOps, SRE, DevSecOps & MLOps by DevOpsSchool!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Openshift: Step-by-Step CRC Full Cleanup (macOS)

To fully clean up and remove CRC (OpenShift Local) from your Mac β€” including all configuration, VM, cache, and logs β€” follow this step-by-step CRC full cleanup guide.


🧹 Step-by-Step CRC Full Cleanup (macOS)

⚠️ WARNING:

This removes everything related to CRC including:

  • the OpenShift cluster
  • your persistent data
  • configs, credentials, cached images, and logs

βœ… Step 1: Stop CRC (if running)

crc stop

βœ… Step 2: Delete the CRC VM and data

crc delete --force
Code language: JavaScript (javascript)

βœ… Step 3: Remove CRC config, cache, logs, and binary

# Remove config and cache directories
rm -rf ~/.crc

# Optional: If you installed the binary in /usr/local/bin
sudo rm -f /usr/local/bin/crc

# Optional: If you installed with Homebrew
brew uninstall crc

# Optional: Also remove the downloaded bundle (huge file)
rm -rf ~/Library/Caches/crc
Code language: PHP (php)

βœ… Step 4: Remove networking artifacts (if any)

If you used older CRC versions or have custom DNS entries:

sudo rm -f /etc/resolver/testing

βœ… Step 5: Clean Hypervisor Artifacts

If you’re using vfkit (on Apple Silicon) or HyperKit (older Intel-based setup), also run:

# Remove hyperkit or vfkit remnants (if you used it)
rm -rf ~/Library/Containers/com.redhat.crc
rm -rf ~/Library/Preferences/com.redhat.crc.plist
rm -rf ~/Library/Application\ Support/crc
Code language: PHP (php)

βœ… Step 6: Clean up logs (optional)

rm -rf ~/Library/Logs/crc
Code language: JavaScript (javascript)

βœ… Step 7: Restart the system (recommended)

To clean up any lingering Hypervisor or DNS state:

sudo shutdown -r now

βœ… CRC Is Now Fully Removed

You’re now ready for a fresh CRC install or can switch back to Docker Desktop or another tool safely.


Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x