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

DevNation Live Blog: Container development for command line developers

<p>&nbsp;</p> <quillbot-extension-portal></quillbot-extension-portal>

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

    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

    • 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.