Containers

Article Thumbnail
Article

Dockerfile, `docker` CLI, containers "Cheat Sheet" now available!

Rafael Benevides

"Linux containers (sometimes managed using the docker command) keep applications and their runtime components together by combining lightweight application isolation with an image-based deployment method". ( https://developers.redhat.com/topics/kubernetes ) Red Hat Developer program brings a very useful cheat sheet to those who need to create or work with 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...

Article Thumbnail
Article

DevNation Live Blog: CDK 2.0: Docker, Kubernetes, and OSE on your desk

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

Article Thumbnail
Article

Red Hat Container Development Kit 2.1

Hardy Ferentschik +1

Today we’re releasing version 2.1 of the Red Hat Container Development Kit. With the CDK, developers can easily create enterprise-ready containerized applications which target both OpenShift 3 development and Red Hat Enterprise Linux environments. Enjoy the ease and experience of developing this type of solution locally, on your own machine, without sacrifice or compromise. Here are the key features in the CDK 2.1 release: OpenShift upgraded to OpenShift Enterprise 3.2. See here to find out more about the new features...

Java fat jars
Article

How to run Java fat-jars in Docker, Kubernetes and OpenShift

Rafael Benevides

In a world where agility matters, the pursuit to reduce wasted time in environment configurations is apparent in many technologies. Some techniques, such as Virtual Machines, that enable distribution of pre-configured images have existed for decades, while others like Linux containers are more recent. Even platforms like Java allow developers to package all dependencies, resources and configuration files in single JAR (Java Archive) file. What started initially as way to have executable Java classes in Java SE (Standard Edition), has...

Article Thumbnail
Article

Create Resilient Camel applications with Hystrix

Bilgin Ibryam

Apache Camel is a mature integration library (over 9 years old now) that implements all the patterns from Enterprise Integration Patterns book, but Camel is not only an EIP implementation library, it is a modern framework that constantly evolves, adds new patterns and adapts to the changes in the industry. Apart from tens of connectors added in each release, Camel goes hand-in-hand with the new features provided by the new versions of Java language itself and other Java frameworks. With...

Article Thumbnail
Article

How to Set Up A Kubernetes Developer Box

Hemant Jain

Kubernetes is a great tool for container orchestration on a server cluster. It makes it easy to deploy lots of containers in a resource-efficient way using a simple interface. But one thing that is not easy to do with Kubernetes is to deploy it locally. Kubernetes is designed to run on an actual cluster, which means using it only on a single computer is tough. I know. You're probably wondering why you'd want to use Kubernetes locally in the first...

Article Thumbnail
Article

Using Vagrant to Get Started with RHEL

Zachary Flower

Red Hat Linux was the first version of Linux I ever used. Until succumbing to The Cult of Macintosh a few years ago, I was a faithful Red Hat (and later Fedora) junkie. Hell, I still have my 15 year old Red Hat 7.2 discs. But, as a developer, it has been tough to do any substantial work with Red Hat Enterprise Linux (RHEL) unless working for an organization that has a license. That is, until relatively recently, when Red...

Article Thumbnail
Article

Red Hat CDK installation in just minutes!

Eric D. Schabell

Ready to develop container application in just over 4 minutes? Since I started playing around with OpenShift in its various forms, such as Online with cartridges and then later as containerized images, nothing has gotten me more excited than the availability of the Red Hat Container Development Kit (CDK). This kit has made it possible to easily gain access to a full, product based installation of OpenShift as you would interact with it in application development in just minutes. While...

Article Thumbnail
Article

Use Vagrant Landrush to add DNS features to your OpenShift CDK Machine

Ricardo Martinelli

With the release of the Red Hat Container Development Kit (CDK), it’s been easier to set up a development environment with OpenShift to create, develop and test your own containerized applications, and easier evaluate different CI/CD strategies with Jenkins --- strategies that reflect your team's unique culture. However, when you want to access applications by their DNS names, you cannot do so because there is no DNS server pointing to that name. That is, of course, until now! Vagrant provides...

Article Thumbnail
Article

3 Reasons I Should Build My Containerized Applications on RHEL and OpenShift

Scott McCarty (fatherlinux)

Red Hat has always given operations teams value in deploying Red Hat Enterprise Linux (RHEL), and that's no different in a containerized world. But, as a developer, why should I build on RHEL? Does the underlying operating system really affect me? It might if you want to: get your app to production faster work on new products, not maintain old ones avoid compatibility issues at scale (And yes RHEL is available at no cost for development use.) 1) Take Your...

Article Thumbnail
Article

Introducing atomic scan - Container vulnerability detection

Brent Baude

In the world of containers, there is a desperate need to be able to scan container images for known vulnerabilities and configuration problems, and as we proliferate containers and bundled applications into the enterprise, many groups and companies have started to build container scanning tools. Even Red Hat has been building a scanning tool based on the tried and true OpenSCAP project, but there were several problems we saw time and again. The problems with existing container scanning tools included...

Article Thumbnail
Article

Different types of microservices?

Mark Little

I've been working with some of our teams recently on microservices and how we can assist our customers and communities with best practices and recommendations, whether they're Java EE developers, Vert.x coders, writing Node.js applications or something else. If you've read any of my previous articles then you'll know I have a few thoughts on microservices, and yet there are many things I still feel I need to get straight in my own head. That's why I love talking with...

Article Thumbnail
Article

Integrate OpenShift and Eclipse Che for faster development

Joshua Wilson +1

Recent: Red Hat was invited to be part of Eclipse Che keynote at EclipseCon 2016 and Pete Muir gave a quick look at working with OpenShift and Eclipse Che. When we create software today , we often hit a brick wall and waste many hours because creating copies of another system is far too hard. We create copies for many reasons - a few common examples are: replicating production issues; asking another developer for help; running test suites; copying the...

Jolokia JVM Monitoring in OpenShift
Article

Jolokia JVM Monitoring in OpenShift

Andrew Block

Cloud based technology offers the ability to build, deploy and scale applications with ease; however, deploying to the cloud is only half of the battle. How cloud applications are monitored becomes a paramount concern with operations teams. When issues arise, teams and their monitoring systems must be able to detect, react, and rectify the situation. CPU, system memory, and disk space are three common indicators used to monitor applications, and are typically reported by the operating system. However, for Java...

Article Thumbnail
Article

February/March 2016 GNU Toolchain Update Part 1

Nick Clifton

Introduction The GNU Toolchain is a collection of programming tools produced by the GNU Project. The tools are often packaged together due to their common use for developing software applications, operating systems, and low level software for embedded systems. This blog is part of a regular series covering the latest changes and improvements in the components that make up this Toolchain. Apart from the announcement of new releases however, the features described here are at the very bleeding edge of...

Introduction to Docker containers Open Why configuration options
Article

Keep it small: a closer look at Docker image sizing

Rafael Benevides

A recent blog post, 10 things to avoid in docker containers , describes ten scenarios you should avoid when dealing with docker containers. However, recommendation # 3 - Don’t create large images and the sentence "Don’t install unnecessary packages or run “updates” ( yum update) that download files to a new image layer" has generated quite a few questions. Some of you are wondering how a simple yum update can create a large image. In an attempt to clarify the...

A Practical Introduction to Docker Container Terminology
Article

10 things to avoid in docker containers

Rafael Benevides

So you finally surrendered to containers and discovered that they solve a lot of problems and have a lot of advantages: First: Containers are immutable - The OS, library versions, configurations, folders, and application are all wrapped inside the container. You guarantee that the same image that was tested in QA will reach the production environment with the same behaviour. Second: Containers are lightweight - The memory footprint of a container is small. Instead of hundreds or thousands of MBs...

Article Thumbnail
Article

Programmer's Model of a Processor Executing Instructions Versus Reality

William Cohen

Everything on a computer system eventually ends up being run as a sequence of machine instructions. People want to keep things simple and understandable even if that is not really the way that things work. The simple programmer's model of a Reduced Instruction Set Computer (RISC) processor executing those machine language instruction is a loop of the following steps each step finished before moving on the the next step: Fetch instruction Decode instruction and fetch register operands Execute arithmetic computation...

GNU C library
Article

Upgrading the GNU C Library within Red Hat Enterprise Linux

Florian Weimer

Occasionally, there's a need for a new GNU C Library for a given application to run. For example, some versions of the Google Chrome browser started to warn users on Red Hat Enterprise Linux 7 that future versions of Chrome would not support their operating system. The Chromium source code contained a version check, flagging all versions of the GNU C Library (glibc) older than 2.19 as obsolete. This check has since been relaxed to 2.17 (the version in Red...

RedHat Shadowman Logo
Article

Red Hat sessions at DevNexus 2016 (Atlanta)

Mike Guerette

Here are Red Hat's Session and speakers at DevNexus 2016 in Atlanta this week. Join us at these sessions plus stop by our booth for some good swag! MONDAY, FEBRUARY 15 Docker for Java EE Developers(ALL DAY WORKSHOP) Abstract: Containers are enabling developers to package their applications in new ways that are portable and work consistently everywhere: on your machine, in production, in your data center, and in the cloud. And Docker has become the de facto standard for those...

RedHat
Article

New, no-cost course: Deploying Containerized Applications

Peter Pawelski +1

Docker has become the de facto standard for defining and running containers in the Linux® operating system. Kubernetes is Red Hat's choice for container orchestration. OpenShift, built upon Docker, Kubernetes, and other open source software projects, provides Platform-as-a-Service (PaaS) for the ultimate in deploying applications within containers. Learn how to deploy applications in containers using Docker, Kubernetes, and OpenShift Enterprise by Red Hat®. Deploying Containerized Applications Technical Overview (DO080) is Red Hat's new, no-cost, video course that will teach you...

Red Hat Icon container
Article

Update: Red Hat Container Development Kit 2 Beta

Mike Guerette

Red Hat Container Development Kit (CDK) is a pre-built container development environment based on Red Hat Enterprise Linux to help you get started developing container-based applications quickly. The containers you build can be easily deployed on any Red Hat container host or platform, including: Red Hat Enterprise Linux, Red Hat Enterprise Linux Atomic Host, and our platform-as-a-service solution, OpenShift Enterprise 3. Get started with containers on Mac OS X, Microsoft Windows, or Linux To save you from having to assemble...

RedHat
Article

Go(lang) meets Fedora

Jakub Čajka

Is it this? (Editor's note: don't get it? ^^ See [1]) No, it is... Gopher image is reproduced from work created and shared by Google and Renee French on golang.org page and used according to terms described in the Creative Commons 3.0 Attribution License. What is golang? Or rather Go language? It is relatively young, conceived in 2007, released to public in 2009 and with go1 release in 2012, compiled statically typed garbage collected language designed by Robert Griesemer, Rob...

Article Thumbnail
Article

Webcast: Using the Atomic Registry for Secure Container Image Management

Mike Guerette

When working with container-based applications, admins and developers need a place to store and share container images, a way to deploy them, as well as a way to monitor and administer them once they’re deployed. Atomic Registry provides a place to store and share Docker formatted container images that are saved as images that can be shared with others, and the self-service and admin interfaces make it easy to manage container images on Red Hat Atomic Enterprise Platform. Join Red...