Use vim in a production Red Hat OpenShift container in 6 easy steps
RHD » Docker
by Konrad Kleine
3y ago
Disclaimer: In most cases, we don’t recommend editing files in a container. However, in rare cases, you might need to reproduce and slightly modify a file in a production container, especially when debugging. (In this case, the vim method I’m using works on Fedora 32 on my laptop and it is the base of my Red Hat OpenShift container image.) In this article, I present a quick demo on how to install and run vim in a production Red Hat OpenShift container, when vim was not installed in the container image. I also describe the method to use to overcome an event where the local operating system ..read more
Visit website
Getting started with Buildah
RHD » Docker
by Cedric Clyburn
3y ago
If you’re looking to build Open Container Initiative (OCI) container images without a full container runtime or daemon installed, Buildah is the perfect solution. Now, Buildah is an open source, Linux-based tool that can build Docker- and Kubernetes-compatible images, and is easy to incorporate into scripts and build pipelines. In addition, Buildah has overlap functionality with Podman, Skopeo, and CRI-O. Buildah has the ability to create a working container from scratch, but also from a pre-existing Dockerfile. Plus, with it not needing a daemon, you’ll never have to worry about Docker daemon ..read more
Visit website
Transitioning from Docker to Podman
RHD » Docker
by Cedric Clyburn
3y ago
Podman is an excellent alternative to Docker containers when you need increased security, unique identifier (UID) separation using namespaces, and integration with systemd. In this article, I use real-world examples to show you how to install Podman, use its basic commands, and transition from the Docker command-line interface (CLI) to Podman. You’ll also see how to run an existing image with Podman and how to set up port forwarding. About Podman Podman is a daemonless, open source, Linux-native tool designed to develop, manage, and run Open Container Initiative (OCI) containers and pods. It h ..read more
Visit website
Introducing the Red Hat build of the OpenJDK Universal Base Images—now in Red Hat Enterprise Linux 8.2
RHD » Docker
by Ezequiel Aguilar
4y ago
With the recent release of Red Hat Enterprise Linux 8.2, we also added the first Red Hat build of OpenJDK Universal Base Images. These General Availability (GA) images for OpenJDK 8 and OpenJDK 11 set a new baseline for anyone who wants to develop Java applications that run inside containers in a secure, stable, and tested manner. In this article, we introduce the new OpenJDK Universal Base Images and explain their benefits for Java developers. Before we do that, let’s quickly review what we know about UBIs in general. About Universal Base Images Red Hat Universal Base Images (UBIs) are: OCI ..read more
Visit website
Use Node.js 14 on Red Hat OpenShift
RHD » Docker
by Lucas Holmquist
4y ago
On April 21st, Node.js released its latest major version with Node.js 14. Because this is an even-numbered release, it will become a Long Term Support (LTS) release in October 2020. This release brings a host of improvements and features, such as improved diagnostics, a V8 upgrade, an experimental Async Local Storage API, hardened the streams APIs, and more. While Red Hat will release a Universal Base Image (UBI) for Node.js 14 in the coming months for Red Hat OpenShift and Red Hat Enterprise Linux, this article helps you get started today. If you’re interested in more about Node.js 14’s impro ..read more
Visit website
Open Liberty 20.0.0.5 brings updates to EJB persistent timers coordination and failover across members
RHD » Docker
by Tom Jennings
4y ago
In Open Liberty 20.0.0.5, you can now configure failover for Enterprise JavaBeans (EJB) persistent timers, load Java Authentication and Authorization Service (JAAS) classes directly from the resource adapter, format your logs to JSON or dev, and specify which JSON fields to leave out of your logs. In this article, we will discuss each of these features and how to implement them. View the list of fixed bugs in Open Liberty’s GitHub Issues listing. If you’re interested in what’s coming soon in Open Liberty, take a look at our current development builds, which include GraphQL with Open Liberty. R ..read more
Visit website
Red Hat Universal Base Images for Docker users
RHD » Docker
by Fernando Lozano
4y ago
Red Hat Universal Base Images (UBIs) allow developers using Docker on Windows and Mac platforms to tap into the benefits of the large Red Hat ecosystem. This article demonstrates how to use Red Hat Universal Base Images with Docker from a non-Red Hat system, such as a Windows or Mac workstation. Red Hat Enterprise Linux and Docker When Red Hat Enterprise Linux (RHEL) 8 was released almost a year ago, and it came with lots of new features related to containers. The biggest ones were the new container tools (Podman, Buildah, and skopeo) and the new Red Hat Universal Base Images. There was also c ..read more
Visit website
Introduction to Eclipse JKube: Java tooling for Kubernetes and Red Hat OpenShift
RHD » Docker
by Rohan Kumar
4y ago
We as Java developers are often busy working on our applications by optimizing application memory, speed, etc. In recent years, encapsulating our applications into lightweight, independent units called containers has become quite a trend, and almost every enterprise is trying to shift its infrastructure onto container technologies like Docker and Kubernetes. Kubernetes is an open source system for automating deployment, scaling, and management of containerized applications, but it has a steep learning curve, and an application developer with no background in DevOps can find this system a bit o ..read more
Visit website
Using Kubernetes ConfigMaps to define your Quarkus application’s properties
RHD » Docker
by Sébastien Blanc
4y ago
So, you wrote your Quarkus application, and now you want to deploy it to a Kubernetes cluster. Good news: Deploying a Quarkus application to a Kubernetes cluster is easy. Before you do this, though, you need to straighten out your application’s properties. After all, your app probably has to connect with a database, call other services, and so on. These settings are already defined in your application.properties file, but the values match the ones for your local environment and won’t work once deployed onto your cluster. So, how do you easily solve this problem? Let’s walk through an example ..read more
Visit website
Best practices for running Buildah in a container
RHD » Docker
by Daniel Walsh
5y ago
One of the cool things about separating the container runtimes into different tools is that you can start to combine them to help secure one other. Lots of people would like to build OCI/container images within a system like Kubernetes. Imagine you have a CI/CD system that is constantly building container images, a tool like Red Hat OpenShift/Kubernetes would be useful for distributing the load of builds. Until recently, most people were leaking the Docker socket into the container and then allowing the containers to do docker build. As I pointed out years ago, this is one of the most dangerou ..read more
Visit website

Follow RHD » Docker on FeedSpot

Continue with Google
Continue with Apple
OR