Skip to main content
Redhat Developers  Logo
  • Products

    Featured

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat OpenShift AI
      Red Hat OpenShift AI
    • Red Hat Enterprise Linux AI
      Linux icon inside of a brain
    • Image mode for Red Hat Enterprise Linux
      RHEL image mode
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • Red Hat Developer Hub
      Developer Hub
    • View All Red Hat Products
    • Linux

      • Red Hat Enterprise Linux
      • Image mode for Red Hat Enterprise Linux
      • Red Hat Universal Base Images (UBI)
    • Java runtimes & frameworks

      • JBoss Enterprise Application Platform
      • Red Hat build of OpenJDK
    • Kubernetes

      • Red Hat OpenShift
      • Microsoft Azure Red Hat OpenShift
      • Red Hat OpenShift Virtualization
      • Red Hat OpenShift Lightspeed
    • Integration & App Connectivity

      • Red Hat Build of Apache Camel
      • Red Hat Service Interconnect
      • Red Hat Connectivity Link
    • AI/ML

      • Red Hat OpenShift AI
      • Red Hat Enterprise Linux AI
    • Automation

      • Red Hat Ansible Automation Platform
      • Red Hat Ansible Lightspeed
    • Developer tools

      • Red Hat Trusted Software Supply Chain
      • Podman Desktop
      • Red Hat OpenShift Dev Spaces
    • Developer Sandbox

      Developer Sandbox
      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Secure Development & Architectures

      • Security
      • Secure coding
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
      • View All Technologies
    • Start exploring in the Developer Sandbox for free

      sandbox graphic
      Try Red Hat's products and technologies without setup or configuration.
    • Try at no cost
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • Java
      Java icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • API Catalog
    • Product Documentation
    • Legacy Documentation
    • Red Hat Learning

      Learning image
      Boost your technical skills to expert-level with the help of interactive lessons offered by various Red Hat Learning programs.
    • Explore Red Hat Learning
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

How to run Red Hat CodeReady Containers on Windows 10 Enterprise

September 9, 2020
Don Schenck
Related topics:
Developer ToolsGoKubernetes
Related products:
Developer Tools

Share:

    Red Hat CodeReady Containers allows you to spin up a small Red Hat OpenShift cluster on your local PC, without the need for a server, a cloud, or a team of operations people. For developers who want to get started immediately with cloud-native development, containers, and Kubernetes (as well as OpenShift), it's a simple and slick tool. It runs on macOS, Linux, and all versions of Windows 10.

    Except for Windows 10 Enterprise.

    Which I painfully learned.

    Because I lazily didn't pay attention to the documentation.

    OK, so I'm the only developer who glosses over documentation. Fortunately for you, I struggled and managed to get CRC running on my Windows 10 Enterprise notebook computer, and this article explains what is involved to get it working. So, in a sense, you're welcome that I'm lazy.

    It's right there in front of you

    Turns out, the CRC installation web page explicitly tells us which versions of Windows 10 are supported, and Windows 10 Enterprise (and Windows Server) is not explicitly mentioned as one of them (see Figure 1).

    screenshot of the supported Windows versions
    Figure 1: Do you see Windows 10 Enterprise or Server? I can't either.

    My thinking was that, if it supports Home and Pro, then obviously a much more "enterprisey" version like Windows 10 Enterprise would be supported. I mean, it must have all the bits of the lesser versions, plus a whole lot more, right?

    Turns out, that's the underlying issue.

    Some history

    Windows 98 introduced Internet Connection Sharing (ICS) to Windows, making it easier for network users—for example—to use a shared dial-up modem (remember those?) That technology was replaced, and the replacement is what runs as a service in Windows 10—except for the enterprise version.

    The enterprise version also uses a completely-rewritten network connection stack, one that was built for servers (as opposed to workstations), but with one exception: Within the Hyper-V manager in Windows 10 Enterprise, as of this writing, the Default Switch still uses the old ICS technology.

    CodeReady Container behavior

    CRC looks for and uses the Default Switch on your PC's Windows 10 machine, which means it works fine with Windows 10 Home and Professional. But when CRC attempts to use the Default Switch in Windows 10 Enterprise, it's using older (ICS) technology that isn't compatible.

    So what do you do?

    Use the source, Luke

    Or Sarah, or whatever your name is. Here's the point: Because CRC is open source, you can examine the source code and see how the program uses the switch for DNS lookup. Lo and behold, right there in the Go source code, we can see that an alternative is supported as shown in Figure 2.

    screenshot of the Go code showing an alternate method

    Figure 2: The solution was right there.">

    That's right. If we create a switch named crc, it will be used instead of Default Switch.

    Hyper-excited about this

    From here it's simple. We open the Hyper-V manager and create a new External switch named crc, as shown in Figure 3.

    screenshot of the virutal switch manager dialog
    Figure 3: Creating the External switch.

    Fire it up

    The only remaining step is to start CRC, as shown in Figure 4:

    $ crc start -p ~/Downloads/pull-secret.txt
    animation of the start process
    Figure 4: Look at that, it works!

    Once you have CRC up and running, get things really working by visiting the Red Hat Marketplace and grab some awesome software to run. Most of them offer free trials; here's your chance to install, say, an eventing engine in OpenShift, and see how easy it is to use.

    So there you have it. One small change and your Windows 10 Enterprise PC can run CodeReady Containers. While this setup is not officially supported, I've had no issues with it. Let me know if it's the same for you in the comments.

    From here, you might want to check out:

    • Install Red Hat OpenShift Operators on your laptop using Red Hat CodeReady Containers and Red Hat Marketplace
    • How to install the CouchbaseDB Operator for Red Hat OpenShift on your laptop using Red Hat CodeReady Containers and Red Hat Marketplace
    Last updated: April 7, 2022

    Recent Posts

    • Storage considerations for OpenShift Virtualization

    • Upgrade from OpenShift Service Mesh 2.6 to 3.0 with Kiali

    • EE Builder with Ansible Automation Platform on OpenShift

    • How to debug confidential containers securely

    • Announcing self-service access to Red Hat Enterprise Linux for Business Developers

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform

    Build

    • Developer Sandbox
    • Developer Tools
    • Interactive Tutorials
    • API Catalog

    Quicklinks

    • Learning Resources
    • E-books
    • Cheat Sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site Status Dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2025 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue