Docker Containers “Cheat Sheet” now available!

“Linux containers (sometimes called Docker) keep applications and their runtime components together by combining lightweight application isolation with an image-based deployment method”.

Red Hat Developer program brings a very useful cheat sheet to those who need to create or work with docker containers, images, volumes and networks. When you download the sheet, you will find:

  • An illustrated cheat sheet with commands related to the management of containers,
  • Dockerfile instructions to craft your own image,
  • and examples of commonly used commands to keep at your fingertips.

For more information about containers, Register today at Red Hat Developers and keep in touch. There’s a focused topic area for containers with information that will boost the potential of their usage and keep you current on latest container news.

Rafael Benevides

About the author:

Rafael Benevides is a Director of Developer Experience at Red Hat. In his current role he helps developers worldwide to be more effective in software development, and he also promotes tools and practices that help them to be more productive. He worked in several fields including application architecture and design. Besides that, he is a member of Apache DeltaSpike PMC – a Duke’s Choice Award winner project. And a speaker in conferences like JUDCon, TDC, JavaOne and Devoxx. Twitter | LinkedIn | rafabene.com

DevNation Live Blog: CDK 2.0: DOCKER, KUBERNETES, AND OSE ON YOUR DESK

by Brian J. Atkisson

As a systems engineer, I enjoy building deploying production and pre-production services. These production services tend to be built at scale in a highly redundant architecture.  The problem has always been how do we give developers a sandbox that matches production in all the ways that matters– but without the pain (and love), overhead, compute and networks resources actual production environments require.  Moreover, how does one snapshot this environment so it can be recreated at will.  This has been a holy grail in IT for a while.  While there have many, many attempts at solving this problem, they all seem to have pitfalls and don’t really serve the purpose.

Enter the CDK…

An exciting development in this space is the Red Hat Container Development Kit.  Langdon White, Platform Architect at Red Hat gave his presentation on using CDK 2.0, which is a container CDK based on Vagrant, Docker, Kubernetes, and OpenShift.  It also has Eclipse integration… basically, everything someone needs to build production-quality applications for use on OpenShift.

Langdon starts with decomposition being a major driving factor in today’s software development world. Docker gives us a major step-forward in decomposition and helps with the separation between system errata updates and what the application actually requires.  The CDK will help in your journey to re-architect your applications and “sprinkle in some devops” (one of my favorite new phrases from the DevNation keynote).

The CDK runs on Windows, Mac and Linux (of course).  It ships with Vagrant files allowing you to easily execute the CDK VMs without having to install everything yourself.  The CDK Eclipse has plugin integration for Vagrant, allowing one to run the VMs from within Eclipse, which is kind of cool.  From there you can start the OpenShift Local VM for deploying your code, mimicking a production push.

Still within Eclipse, you can define your Dockerfile, giving your container all the dependencies your application requires, including the base image.  Of course, you can define multiple ones of each tier of your application, all without leaving your development environment.

This gives you a great mechanism for starting to containerize your application.  With large monolithic applications, usually you will start out with one application container and one database container.  Once you get your application is installed within this environment, you may then iterate, slowly breaking up your application into multiple containers… in a few months, break out the caching tier, then the front-end and so forth.

In short, the CDK provides all the tools developers need who want to start the container journey and realize the immediate productivity gains offered by Docker and friends.  In many ways, this gives developers the long sought development environment that actually matches production.

In related news, Red Hat announced CDK 2.1 today, which is available for immediate download.

 

 

 

 

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.

DevNation 2016 Keynote Recap

DevNation 2016 Logo

This morning at DevNation we talked about the past and the future. A past that helped create some of the fundamental building blocks of application development and a future where we can reimagine them all.

As part of the open source community, Red Hat has worked with countless individuals and organizations over the past 20+ years to solve some of the biggest problems and provide technology that many businesses rely on today. It was great to have so many of those people in the audience and online today during DevNation and we thanked them for the years of collaboration and support.

One of the biggest contributions that Red Hat and the community have made to enterprise software is the evolution of the Java ecosystem. Today, we were pleased to announce that we will be working with IBM, Tomitribe and others to continue to evolve enterprise Java so that it can meet the demands of modern app development and become the runtime environment for microservices. You can find more details and information about the announcement here on the Red Hat Developer blog.

Today, we also reaffirmed our commitment to the Eclipse platform with the release of Red Hat JBoss Developer Studio 10. This release coincides with the release of Eclipse Neon, the latest version of the Eclipse IDE. With the latest version you’ll be able to take advantage of Neon’s new features as well as support for Red Hat JBoss Enterprise Application Platform 7 (JBoss EAP) and Red Hat Container Development Kit (CDK) CDK 2.1. The latest version is available here as part of the Red Hat Developer program.

Also for Java developers, today we announced our plans to support OpenJDK for Windows. Offered as a limited developer release, our goal is to provide support for developers who choose to develop with our middleware products on Windows. More information can be found at http://developers.redhat.com/products/openjdk.

To make it easier for developers to access our desktop tools and utilities we are also announcing a new integrated offering – Red Hat Developer Suite. With Red Hat Developer Suite, we are bringing together all of our desktop developer tools and utilities under one installer. Red Hat Developer Suite is available for free to developers through the Red Hat Developer program at http://developers.redhat.com/products/devsuite/overview/.

While we continue to evolve our core platforms and tools, we are also exploring new ways for developers to create applications. Today, working with our partners and the open source community, we demonstrated several new initiatives that that mark the beginning of this journey.

In order for developers to effectively build applications that can span multiple devices and cloud providers, we need to make our platform accessible to a wider audience. This means expanding our support for popular runtimes and developer components. Back in November, we announced a strategic partnership with Microsoft to be the preferred provider for .NET on Linux.

Today we’re proud to announce that with Microsoft’s official release of .NET Core, Red Hat plans to support .NET applications running on Red Hat Enterprise Linux in production. This means, starting today, developers can have confidence that whether they run their .NET application on Windows or Red Hat Enterprise Linux, they can get the same level of support.

Scott Hanselman from Microsoft joined us on stage, along with Todd Mancini, Red Hat’s senior product manager for Developer Tools, and showed how developers can use the technology using a wide range of toolsets. For more information and to learn how to build your first supported .NET application on Linux, visit redhatloves.net.

Along with making our platform available to the widest audience of developers possible, we also want to provide tools that can support the widest range of developer technologies possible. Those tools should also help developers be more effective and be adaptable enough to support the latest languages and frameworks. Today we are excited to announce that we will be working with Codenvy to evolve Eclipse Che and to make it part of our strategic vision for developer tools.

Che is a new type of integrated development environment. Eclipse Che is a workspace server and browser IDE. With Eclipse Che you can develop anywhere – whether on your desktop, in the cloud, or even embedded within the device. One of its strengths is the ability to plug language servers into the workspace. As part of the announcement we also committed to working with Microsoft to create a new open spec for language server implementation that can enable language servers to be used in Eclipse Che and VS Code. For more information about Eclipse Che visit https://eclipse.org/che/ and for further details on the announcement visit the announcement

Our final announcement aims to enable developers to more easily describe and compose complex applications and do so in a way that is easy to understand for developers but is also powerful enough for operators and admins. This new technology is based on work that we’ve done with our Ansible team and uses a simple file format to describe multi-container applications in a way that more easily plugs into developer tools like Eclipse Che.

The Ansible team has created the Ansible Container project. Its purpose is to enable users to build, deploy, and orchestrate containers at scale, all from Ansible playbooks. It’s still a young project, barely a month old — but we’re excited by it, and we think it has a great deal of potential.

One of the interesting innovations they have already introduced is the ability to provide “dev_overrides” and “options” which enable you to treat different environments such as your Che dev environment differently from your production environment. We’ve got some great ideas for other innovations including taking the notion of “dev_overrides” a lot further, and providing an overlay system, where each role within your organisation can build up the configuration as the app moves through the software development lifecycle regardless of the container orchestration engine you run in production.

Today was truly about the power of participation. Red Hat’s unwavering commitment to open source is unique in the industry and we believe that the best solutions are created when everyone has an opportunity to participate. Red Hat works best when it works with others and today we were able to demonstrate that. Whether it was the years of developing our current technologies side-by-side with the community and partners or with the new announcements we made today with partners like Microsoft.

Future developer technologies won’t be created by any one organization but by the developers themselves. Red Hat’s role has always been and will be to catalyze communities to make strategic connections so that the uncommon can become common. We look forward to helping reimagine the future as part of the larger open source developer community.

Sign up for the Stack Overflow Assistance pilot

We want to assist developers wherever they may look for help using Red Hat products, and we know they love Stack Overflow. For a limited time, as a member of the Red Hat Developer Program you can sign up for our Stack Overflow Assistance pilot. As part of this pilot, we will try to respond within 24 hours to your developer questions on Red Hat products within Stack Overflow, if they haven’t already been answered correctly. To sign up, click here: https://access.redhat.com/eform/submit/stackoverflow-pilot

Unlock the latest tools and resources from the Red Hat Developer Program

The kind of software that developers build, how they build it, and the platforms they use are set to dramatically change in the years to come. We understand that developers need to stay current with the latest technologies.

At Red Hat, our mission is to help companies succeed at their digital transformation. That’s why we’re giving members of our Red Hat Developer Program the latest tools that you need to deliver high-value software, on-time and on-budget. As a member of the Red Hat Developer Program, you have access to:

  • Certain Red Hat enterprise products, free for development use
  • Our extensive knowledgebase, specifically tailored to your needs as a developer
  • Members-only books, videos, cheat sheets and more
  • Red Hat moderated developer forums
  • Red Hat moderated StackOverflow developer questions on Red Hat products

You can register for the Red Hat Developers Program at developers.redhat.com. The Red Hat Developers Program is subject to change.

Our passion is, and always has been, to help developers be the best they can be. It’s in our open-source DNA.

 

.NET Core Now Available and Supported on Red Hat Enterprise Linux and Red Hat OpenShift

Those looking to ascertain the ubiquitous nature of open source need look no further than the trajectory of .NET, Microsoft’s widely-adopted general development platform. In November 2014, Microsoft announced the open sourcing of .NET with .NET Core, a just-in-time (JIT) compiler and runtime for .NET. Then, in November 2015, Red Hat and Microsoft announced a landmark relationship, which established our collaboration with and promised access to .NET on the world’s leading enterprise Linux platform: Red Hat Enterprise Linux and Red Hat OpenShift, our award-winning container application platform.

Today, we’re pleased to announce that .NET Core is now not only available on Red Hat Enterprise Linux and OpenShift via certified containers, but is supported by Red Hat and extended via the integrated hybrid support partnership between Microsoft and Red Hat. This makes Red Hat the only commercial Linux distribution to feature full, enterprise-grade support for .NET, opening up platform choice for enterprises seeking to use .NET on a flexible Linux and container-based environments.

So why is .NET on Red Hat Enterprise Linux and Red Hat OpenShift such a big deal? Well, for starters enterprises can now have:

  • The ability to follow a microservices-based approach, where some components are built with .NET and others with Java, but all can run on a common, supported platform in Red Hat Enterprise Linux and Red Hat OpenShift.
  • New .NET Core workloads can now be easily moved from a Windows Server environment to Red Hat Enterprise Linux, even if development was primarily done via Windows.
  • A heterogeneous datacenter, where the underlying infrastructure is capable of running .NET applications without having to rely solely on Windows Server.
  • Access to many of the popular development frameworks such as ..NET, Java, Ruby and Python from within OpenShift

It’s a great day for developers, and it’s a great day for Red Hat Enterprise Linux and OpenShift users. To learn more about .NET Core on Red Hat Enterprise Linux and OpenShift and how to access the components, please visit redhatloves.net.

Scott Hanselman running a demo of .NET and Visual Studio on Red Hat Enterprise Linux during the DevNation 2016 Keynote:

IMG_20160627_103211 IMG_20160627_101530

 

Screen Shot 2016-06-27 at 9.20.12 AM

Red Hat & Eclipse Che

During the DevNation General Session today we talked about how we need to rethink some of the basic concepts of software development. We think it’s essential to make developers more effective and get started quickly. Rethinking what and how developers write and debug their code (what we normally call the “IDE”) is central to that.

Today, during the DevNation keynote, Red Hat announced that it is making a strategic investment in Eclipse Che. In this blog post I’ll talk about why, and also where we are starting to contribute.

One of the things that has struck me, that I realized as I’ve worked with Che over the last nine months, is that I had forgotten what the acronym “IDE” stands for — Integrated Development Environment. As I spent more time with Che, I realized that most IDEs and coding tools I used to date have focused heavily on source code (editing, compiling, building, visualizing) and have ignored the environment part — you nearly always have to follow a README to get the application running.

Che has fundamentally rethought the whole development experience, and put source code and environments on an equal level. At Red Hat we feel that Eclipse Che is fundamentally changing the very approach many of us take towards developing software. We think that the notion of a universal workspace is incredibly liberating for developers.

Continue reading “Red Hat & Eclipse Che”