Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

Using Red Hat Container Development Kit 3 Beta

February 28, 2017
Lalatendu Mohanty
Related topics:
Containers
Related products:
Red Hat OpenShift Container Platform

    The CDK 3 Beta release introduces Minishift - a CLI tool that helps you run the OpenShift Container Platform locally by launching a single-node OpenShift cluster on top of a RHEL7 virtual machine.

    CDK 3 addresses a lot of usability issues we had with CDK 2.x. We aim to provide an improved user experience with CDK 3.

    What has changed between CDK 2.x and CDK 3 :

    In CDK 3 we changed the following technologies to make the installation steps simpler and easier as compared to CDK 2.4 and earlier:

    • CDK 3 is not based on Vagrant but it is a single native binary i.e. minishift.
    • CDK 3 supports native hypervisors i.e. KVM on RHEL, Xhyve on OS X and HyperV on Microsoft Windows 10

    Overview of CDK 3 Beta

    CDK 3 consists of three main components namely Minishift CLI, a RHEL 7 ISO and the OpenShift oc CLI. To improve user experience, we packaged all the three components together into the minishift binary. You just need to run a single command to unpack everything (as mentioned below)

    Minishift is a fork of the Minikube project and uses libmachine to interact with the underlying virtualization software. It also uses OpenShift’s  “cluster up” functionality for provisioning the local OCP cluster (version v3.4.1.2).

    In order to run CDK 3 you will need to install a hypervisor. At the moment, KVM, Virtualbox, Xhyve and HyperV are the supported hypervisors.

    Note: The CDK 3 Beta provisions an instance of the Red Hat OpenShift Container Platform, version 3.

    Prerequisites:

    1. Install a Minishift supported hypervisor on your operating system.
      • Refer to the prerequisites in the Minishift upstream documentation for further information.
    2. If you plan to use Xhyve on OS X or KVM on RHEL, you need to install an additional driver. Refer to these steps for driver installation.

    Installation steps :

      1. Download the minishift binary to your workstation from https://developers.redhat.com/products/cdk/download/.
      2. Rename the downloaded binary to minishift.exe for Windows, minishift for GNU/Linux and OS X.
      3. (Optional) Add the binary to your environment path.
      4. Make sure the minishift binary has executable permissions.
      5. Run the following command to do the required setup.
        • $ ./minishift setup-cdk
          • This command will extract and put the ISO and the `oc` binary in the ~/.minishift/cache directory and create the configuration file with defaults for properties along with the cdk marker file in ~/.minishift/cdk.
      6. (Optional) Review and change the default configuration properties as needed
        1. View the created configuration file:
          • $  ./minishift config view
        2. Use the ‘minishift config set’ command to change default values for properties such as the memory, CPU or vm-driver. For example, if you want to allocate a specific number of CPUs to the virtual machine:
          • $ ./minishift config set cpus 2
        3. You can also use flags e.g. --cpus , --memory with minishift start command. Check the usage of the minishift start command for details.

    Running CDK 3 Beta :

    Important: You need a Red Hat subscription (such as a Red Hat developer subscription) to run the CDK.

    Run the CDK 3 with the following command:

    $ ./minishift  --username <RHN_Username> --password <RHN_Password> start
    

    Red Hat subscription credentials can either be passed via the environment variables MINISHIFT_USERNAME and MINISHIFT_PASSWORD  or the --username and --password flags.

    For detailed documentation please refer to the upstream Minishift documentation.

    The CDK 3 Beta is at the moment not on par in terms of features with the CDK 2.4. The following features are still in progress for the next GA release:

    • Exposing OpenShift registry as a local docker registry
    • Host directory mount to the virtual machine

    Feedback:

    We would love to get your feedback. The Red Hat Container Tools mailing list is open to all. Please try the CDK 3 Beta and send us your feedback on the container-tools at redhat.com mailing list.

    Community:

    The Minishift community hangs out on the IRC channel #minishift (https://freenode.net). You are welcome to join, participate in the discussions, and contribute.

    Resources:

    • https://github.com/minishift/.
    • https://www.openshift.org/minishift/.
    • https://github.com/minishift/minishift#documentation.
    Last updated: February 11, 2024

    Recent Posts

    • Introducing virtualization platform autopilot

    • Integrate zero trust workload identity manager with Red Hat OpenShift GitOps

    • Best Practice Configuration and Tuning for Linux and Windows VMs

    • Red Hat UBI 8 builders have been promoted to the Paketo Buildpacks organization

    • Using eBPF in Red Hat products

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    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
    © 2026 Red Hat

    Red Hat legal and privacy links

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