Podman Basics Cheat Sheet

Podman Basics cheat sheet

WORKING WITH CONTAINER PROCESSES AND RESOURCES

podman ps [--all]

List the running containers on the system (use --all to include non-running containers)

podman exec container command

Execute a command in a running container

podman pause container

Pause all the processes in a container

This cheat sheet covers all the basic podman commands.

Creating custom stacks in Eclipse Che

Eclipse Che stacks contain compilers, runtimes, and tools. But what if you need more? This article shows you how to create your own stack.

Eclipse Che stacks contain compilers, runtimes, tools, and other useful things for most popular programming languages. But there's a chance your project needs tooling and other utilities. Fortunately, you can build a custom stack that includes everything you need, then build a workspace on top of your new stack. This article shows you how. 

Doug Tidwell
Red Hat Developer Alumnus

Red Hat Developer Istio Video Series: Number 2 - Istio Pool Ejection

This video demonstrates how Istio Pool Ejection enables you to remove under- or non-performing pods from your kubernetes-based system. [Note: Yes, I know I hammer on the 'return' key much too hard. I'm working on that.]

service mesh istio kubernetes microservice OpenShift Containers Red Hat Developers 1 0 https://img.youtube.com/vi/OEo99GjUv6Q/hqdefault.jpg
39 Seconds
6 Minutes
Istio Pool Ejection allows you to temporarily block under- or non-performing pods from your system.

CDK 3: Build your first application using the OpenShift Console

A guide to creating a Node.js project on Red Hat OpenShift running inside the Red Hat CDK/minishift VM using the OpenShift web console.

This article will guide you through creating and deploying your first project on Red Hat OpenShift Container Platform, which is running inside the Red Hat CDK/minishift virtual machine. The project is a Node.js "Hello, World" application that displays the current hit count. A MongoDB database is used to store the hit count. Two pods will be created to run the application, one for the Node.js application and another for the database.

Fat Jar Smackdown - James Falkner

You've heard of Fat/Uber JARs and are probably building them today. They provide much greater app portability and minimize the risk of missing dependencies. However, in a containerized world, where small code changes and re-deployments can occur frequently for high scale environments, the overhead of processing and transferring virtually duplicate content can quickly grow. In this session, we'll explore the benefits and costs of Fat JAR packaging and demonstrate various options for slimming your apps and saving those trees using popular frameworks like Wildfly Swarm, Dropwizard, Spring Boot and Eclipse Vert.x.

Containers linux containers wildfly wildfly swarm dropwizard spring boot vert.x microservices Red Hat Developer Program 9 1 https://i.ytimg.com/vi/zIcMfi6u40c/default.jpg
21 Seconds
33 Minutes

Red Hat OpenShift Container Platform Cheat Sheet

Red Hat OpenShift Container Platform Cheat Sheet

Let's list out our current available projects (those that we have at least view access for):

$ oc get projects

 

If this is our rst login and no one has added us to any existing projects, there shouldn't be any projects listed. Let's create a project (allowed by self-provisioner role to all authenticated users, in the default Openshift policy installation).

$ oc new-project myproject --display-name='My Project' --description='cool project owned by myuser'

 

Now using project "myproject" on server "https://openshift.example.com:443". To build a new example applicatin on Ruby you can add applications to this project with the 'new-app' command. For example, try:

oc new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-ex.git
See a step-by-step example to build, deploy and manage an application with OpenShift and look at administrator tasks that can impact developers.