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

DevNation Live Blog: Container development for command line developers

 

June 28, 2016
Brian Atkisson
Related topics:
Containers
Related products:
Developer Tools

Share:

    Yesterday, I did a live blogging post covering the Container Development Kit DevNation session.  The CDK solves a fairly large problem, one that I have struggled with during my tenure as a Systems Administrator... giving developers a production-like environment.  If you cannot tell, I'm a big fan of the CDK.  It doesn't just give developers access to something approximating production, it also gives you an IDE combined with the tools to make you productive with the sandbox environment.

    However, I have a confession to make-- I'm not a fan of GUI IDEs.  In fact, I avoid them at all costs.  To me, it doesn't get any better than writing perl in Vim.  That is my happy place.  I've tried many GUI IDEs over the years, including Eclipse, but they all take me out of the terminal.  Regardless of the language, Python, Perl, Ruby; I find Vim makes me most productive.  Of course, I also live in the woods and don't own a pair of skinny jeans, so take it for what it is worth.

    The container development that I have done has all been from the command line. Lalatendu Mohanty, Praveen Kumar, and Navid Shaikh's session on $subject obviously excited me as being in my wheelhouse.  Containers have enormous benefits, so anything to make the process any easier is a huge value.

    In addition to the Eclipse integration, the CDK also gives you host command line access and vagrant ssh for connecting to the CDK VMs. Moreover, the CDK aims to provide the same experience across Windows, OS X and RHEL clients.

    Much of the command line tooling provided by the CDK can be accessed via vagrant, which acts as glue between the CDK and user's development environment.  For example:

    • vagrant service-manager start/stop/restart {kubernetes, openshift, docker}
    • vagrant service-manager env docker
    • vagrant ssh #to access one of the VMs directly

    You can use sync-folder with vagrant-sshfs for sharing data between the host machine and the CDK VMs.  This solution allows for cross-platform consistency without using native OS tooling.  This also help to save your work across resetting the CDK VMs while using native tooling within your host OS.

    The CDK also ships with the Docker and oc binaries included within the CDK VMs. Of course, you can also install them directly on your host OS, which may make things a little easier.

    You can create your Dockerfiles, container images, and so on using your traditional tool set, then us the vagrant tooling for creating and testing your images and containers.  Once you are ready to deploy, there is a specific packaging standard that both OpenShift and Kubernetes support, called Nulecule. AtomicApp is the runtime that understands the Nulecule standard. OpenShift2Nulecule creates a Nulecule file with artifacts for running on OpenShift or Kubernetes.

    In short, the CDK gives folks the tooling required to build your application, as well as the mechanisms to package, test and deploy it, all without leaving your workstation.  As always, Red Hat is about choice and providing developers multiple options and tooling to get the job done, regardless of how you work.

    Ecosystem Projects included as part of the CDK.

    • vagrant-service-manager
    • vagrant-sshfs
    • adb-vagrant-registration
    • adb-utils
    • Landrush
    • OpenShift2Nucle

    You can download Red Hat Container Development Kit 2.1 from developers.redhat.com.

     

    About the Author

    Brian J. Atkisson is a Senior Principal Systems Engineer and the technical lead on the Red Hat IT Identity and Access Management team.  He has 18 years of experience as a Systems Administrator and Systems Engineer, focusing on identity management, virtualization, systems integration, and automation solutions. He is a Red Hat Certified Architect and Engineer, in addition to his academic background in Biochemistry, Microbiology and Philosophy.

     

     

     

     

     

    Last updated: June 13, 2024

    Recent Posts

    • Build container images in CI/CD with Tekton and Buildpacks

    • How to deploy OpenShift AI & Service Mesh 3 on one cluster

    • JVM tuning for Red Hat Data Grid on Red Hat OpenShift 4

    • Exploring Llama Stack with Python: Tool calling and agents

    • Enhance data security in OpenShift Data Foundation

    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