πŸš€ 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 on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

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

βœ… 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

βœ… 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

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

rm -rf ~/Library/Logs/crc

βœ… 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