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

Five OpenShift Development Environments in Five Minutes

July 11, 2017
jason meyer
Related topics:
Developer Tools

Share:

    It’s been over a month since I spoke at the Red Hat Summit in Boston and now that the dust has settled, I thought you might be interested in reading a brief summary of my Lightning Talk on Five OpenShift Development Environments in Five Minutes.

    In the presentation, I spoke about five different ways that you can create an OpenShift development environment within minutes. This included oc cluster up, Vagrant All in One Box, Minishift, a Fabric8 technology, and the Red Hat Development Suite. My goal through the presentation was to get developers up and working with OpenShift very quickly.

    oc cluster up

    This is included in OpenShift Origin 3.3+ and Red Hat OpenShift Container Platform 3.3+, which allows you to create an OpenShift Container Platform environment in a containerized environment. It’s actually creating a containerized platform in a container. It has a lot of flexibility and runs on Windows, Linux, and macOS.

    This is the only option that we have here that allows you to use both Origin, which is the upstream version of OpenShift, and the Red Hat Enterprise version as well. It's very simple, and all you really need to run this is Docker and the OpenShift client tool (oc).  If you have those installed, it's a simple oc cluster up command and you have an environment ready to start running.

    $ oc cluster up --use-existing-config \
    --host-data-dir=/usr/data \
    --metrics=true \
    --image=registry.access.redhat.com/openshift3/ose \
    --version=latest

    Vagrant All-in-One Box

    This is a virtual machine, created by the OpenShift community using Vagrant. Vagrant's a tool for building and managing VMs. This was a very well received project and it’s one of the initial projects to be able to create these development environments for OpenShift. It's still very valid method if you have a Vagrant environment. However, the community is now shifting, pun intended, to Minishift, which we'll talk about next.

    If a user really wants to use Vagrant, this is still a valid method. It has to be understood that this specific Vagrant box is going to stay at version 3.3. It's not going to be upgraded, but there are other Vagrant boxes available.

    $ vagrant init openshift/origin-all-in-one
    $ vagrant up --provider=virtualbox

    Minishift

    This is gaining a lot of traction and where the community is heading. It doesn't matter if you're Windows, Linux, or Mac. This tool runs OpenShift locally using a single node OpenShift cluster in a virtual machine using a driver, such as virtualbox, kvm, xhyve, or Hyper-V, unlike oc cluster up, which uses a container. Many people found value with Minishift, as it provides parameters for customizing settings such as disk size, cpu, and memory.

    $ minishift start --cpus=2 --disk-size=20g --memory=2048

    Fabric8 Maven Plugin

    This is an open source microservices platform, utilizing Docker, Jenkins, and OpenShift, Kubernetes. In fact, through this microservice type of framework, you can create your own OpenShift environment easily. I was specifically calling out this Maven Plugin, mostly because I wanted to show that it's easy to spin up OpenShift inside a Maven project. In turn, this calls Minishift behind the scenes. You get all the functionality of Minishift within your Maven environment as well.

    $ mvn fabric8:cluster-start -Dfabric8.cluster.kind=openshift

    Red Hat Development Suite

    The Red Hat Development Suite is a product available through the Red Hat Developer subscription, which is free for developers and is currently only available for Windows and Macintosh. I spoke of the RH Development Suite as it had an extremely easy installer, which allows you to pick all the components that you don't have installed in your system and configures everything for you. Within minutes, you have your VirtualBox, your Vagrants, and your Red Hat Container Development Kit, all installed and ready for you to start using it as an OpenShift environment.

    If you're using Linux, you can still get the same functionality by using the Red Hat Container Development Kit, you just don't get the installer.

    I concluded my talk with a demo of my favorite option, oc cluster up, which required little upfront preparation, runs in a containerized environment and allows the usage of OpenShift Container Platform.


    Take advantage of your Red Hat Developers membership and download RHEL today at no cost.

    Last updated: July 10, 2017

    Recent Posts

    • AI meets containers: My first step into Podman AI Lab

    • Live migrating VMs with OpenShift Virtualization

    • 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

    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