Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat AI
      Red Hat AI
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • View All Red Hat Products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat 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
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Secure Development & Architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud 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

    • Product Documentation
    • API Catalog
    • Legacy Documentation
  • 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

Using Red Hat Container Development Kit 3 Beta

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

Share:

    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

    • What's New in OpenShift GitOps 1.18

    • Beyond a single cluster with OpenShift Service Mesh 3

    • Kubernetes MCP server: AI-powered cluster management

    • Unlocking the power of OpenShift Service Mesh 3

    • Run DialoGPT-small on OpenShift AI for internal model testing

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

    Red Hat legal and privacy links

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

    Report a website issue