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.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • 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

How to install Red Hat CDK 3.4 on Fedora 28

May 30, 2018
Robin Owen
Related topics:
Developer toolsVirtualization
Related products:
Red Hat Enterprise Linux

    Red Hat Container Development Kit (CDK) provides a single-node Red Hat OpenShift cluster designed to assist with containerized application development. This environment is like a production OpenShift environment, but it is designed to work on a single user's computer. For this purpose, CDK runs Red Hat Enterprise Linux and Red Hat OpenShift Container Platform in a virtual machine.

    Follow these steps to install CDK 3.4 on Fedora 28:

    1. Set up the virtualization environment.
    2. Install and configure CDK.
    3. Start CDK.

    Below are details for performing these steps.

    Set Up the Virtualization Environment

    CDK requires Kernel-based Virtual Machine (KVM)/ libvirt virtualization technology and the KVM Docker Machine driver plug-in. Perform the following steps to download and configure the required components.

    1. Download the KVM driver plug-in and make it executable:

    $ sudo curl -L https://github.com/dhiltgen/docker-machine-kvm/releases/download/v0.7.0/docker-machine-driver-kvm -o /usr/local/bin/docker-machine-driver-kvm
    $ sudo chmod +x /usr/local/bin/docker-machine-driver-kvm
    

    2. Install KVM/libvirt:

    $ sudo dnf install libvirt qemu-kvm
    

    3. Add yourself to the libvirt group:

    $ sudo usermod -a -G libvirt ${USER}
    

    4. Update your user session to apply the group change:

    $ newgrp libvirt
    

    5. Launch libvirtd and configure it to start at boot:

    $ sudo systemctl start libvirtd
    $ sudo systemctl enable libvirtd
    

    Install and Configure CDK

    1. Download CDK for Linux.

    Note: The following steps assume that CDK is placed in the ~/Downloads directory. The file should be named ~/Downloads/cdk-3.4.0-2-minishift-linux-amd64.

    2. Create the ~/bin directory and copy CDK to it:

    $ mkdir -p ~/bin
    $ cp ~/Downloads/cdk-3.4.0-2-minishift-linux-amd64 ~/bin/minishift
    $ chmod +x ~/bin/minishift
    

    Note: The ~/bin directory should already be in your $PATH. You may use another directory of your choice, but we recommend placing minishift in your $PATH. If that is not possible, you can run it as ./minishift from the directory containing minishift.

    3. Set up CDK:

    $ minishift setup-cdk
    

    Note: This will create the directory ~/.minishift. This directory includes the virtual machine image and related configuration files.

    Start CDK

    1. You must start CDK using the minishift binary.

    Register the virtual machine running Red Hat Enterprise Linux:

    Note: Replace $RED_HAT_USERNAME and $RED_HAT_PASSWORD with the credentials you use to install other Red Hat Enterprise Linux systems.

    $ export MINISHIFT_USERNAME="$RED_HAT_USERNAME"
    $ export MINISHIFT_PASSWORD="$RED_HAT_PASSWORD"
    $ echo "export MINISHIFT_USERNAME=\"$MINISHIFT_USERNAME\"" >> ~/.bashrc
    $ echo "export MINISHIFT_PASSWORD=\"$MINISHIFT_PASSWORD\"" >> ~/.bashrc
    

    2. Start CDK:

    $ minishift start
    

    3. Verify that CDK is running:

    $ minishift status
    

    Congratulations, CDK is now running on your Fedora 28 system!

    See the CDK Getting Started Guide for more information about using CDK.

    Last updated: December 1, 2023

    Recent Posts

    • Red Hat Hardened Images: Top 5 benefits for software developers

    • How EvalHub manages two-layer Kubernetes control planes

    • Tekton joins the CNCF as an incubating project

    • Federated identity across the hybrid cloud using zero trust workload identity manager

    • Confidential virtual machine storage attack scenarios

    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

    Chat Support

    Please log in with your Red Hat account to access chat support.