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

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

Share:

    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

    • How to deploy the Offline Knowledge Portal on OpenShift

    • Autoscaling vLLM with OpenShift AI

    • Filtering packets from anywhere in the networking stack

    • PostGIS: A powerful geospatial extension for PostgreSQL

    • Kafka Monthly Digest: September 2025

    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