Questions tagged [redhat-containers]

For development issues while creating applications in containers for Red Hat platforms.

Use this tag for discussing issues related to building apps on containers.

Red Hat Container Development Kit provides a pre-built Container Development Environment based on Red Hat Enterprise Linux to help you develop container-based (sometimes called Docker) 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.

Click here for free development subscription which allows you to download Red Hat Container Development Kit for development use: https://developers.redhat.com/products/cdk/download/

94 questions
28
votes
2 answers

How to install ps in redhat ubi8/ubi-minimal

For registry.access.redhat.com/ubi8/ubi-minimal this image, i need ps utility to be installed. There is no yum package manager available in the image. Instead , we have microdnf. microdnf install procps says there is no such package named procps
ambikanair
  • 4,004
  • 11
  • 43
  • 83
25
votes
3 answers

How to fix 'character map file `UTF-8' not found'

I'm setting up a UBI rhel8 container. I need to execute this command: localedef -f UTF-8 -i en_US en_US.UTF-8 which failed with: character map file `UTF-8' not found: No such file or directory cannot read character map directory…
FedericoY
  • 253
  • 1
  • 3
  • 4
7
votes
2 answers

Podman how remove all exited containers if there are many

On a server running containers with Podman I just realised, there are many containers with "Exited" status and wanted to remove all of them in one go. How can I do it with Podman?
NIK
  • 1,089
  • 13
  • 22
7
votes
3 answers

In a ROOTLESS podman setup, how to communicate between containers in different pods

I read all I could find, but documentation on this scenario is scant or unclear for podman. I have the following (contrived) ROOTLESS podman setup: pod-1 name: pod1 Container names in pod1: p1c1 -- This is also it's assigned hostname within…
NYCeyes
  • 5,215
  • 6
  • 57
  • 64
5
votes
1 answer

che.openshift.io - Run the terminal as SUDO

I am using the che.openshift.io - Eclipse Che from Red Hat. I have a workspace of PHP Laravel Stack. When I try to run commands as SUDO from the php terminal I am getting error. SUDO - not a command / SU - must be run from a terminal Can someone…
Karthika
  • 51
  • 3
5
votes
2 answers

Error when executing minishift start: connect: connection refused

Windows 10 CDK v3.9 / Minishift 1.34 VirtualBox v5.2.32 (also tried v6.0.10) I'm trying to start minishift/cdk but keep getting an error. After reading many other reports with a similar error it's not clear what the solution might be. I'm not on…
Bill
  • 85
  • 1
  • 8
3
votes
1 answer

Airflow Openshift installation with Dockerfile

I tried to install the Airflow via my own image at a public dockerhub, but it works perfect locally, but when I tried to use it on Openshift. I got this error bellow. `ERROR: Could not install packages due to an OSError: [Errno 13] Permission…
3
votes
1 answer

Is there a way to install git into RedHat ubi 8 minimal images with microdnf and work around errors installing shadow-utils?

Trying to install git into a Redhat UBI 8 minimal image with microdnf fails. I've traced the problem I think to the install of shadow-utils, which git requires. Trying to install shadow-utils alone fails as well. I had no trouble installing other…
Eric Schoen
  • 668
  • 9
  • 16
3
votes
0 answers

Keycloak WFLYCTL0362: Capabilities required by resource

I'm trying to run rh-sso-7/sso74-openshift-rhel8 container in Openshift and it says the following: 13:03:20,612 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: Capabilities required by resource…
3
votes
1 answer

Redhat's RHEL8 equivalent of "apk add --no-cache gcc musl-dev linux-headers"

I am trying this sample code from "https://docs.docker.com/compose/gettingstarted on Python installed on RedHat enterprise linux 7 / 8 image. Getting error 127 on this line RUN apk add --no-cache git gcc musl-dev linux-headers Thanks
Shiva RN
  • 31
  • 1
  • 2
3
votes
3 answers

How do I install docker on RHEL 7 offline?

New to docker. Need to install docker on a RHEL 7 (no gui) system. Does the RHEL 7 installation come with docker already on it? If not, where do I get it from? (I cannot use the docker software at docker.com, it has to come from RedHat - government…
CrashFive
  • 83
  • 1
  • 2
  • 8
3
votes
1 answer

OpenShift/Origin API call to initiate a deployment

Hi :) I'm trying to mimic the oc cli API call to the master node that initiates a deployment. So eventually, I can have a chatbot that can initiate a deployment without needing to install the oc cli. What is the API call to initiate a…
Zhao Li
  • 4,936
  • 8
  • 33
  • 51
2
votes
1 answer

Import project from git in Redhat Decision Manager(RHDM) deployed in Openshift

Using the steps defined in deploying red hat decision manager on red hat openshift container platform (Redhat site), I was able to deploy the RHDM in my minishift server, however when trying to import project from our company dedicated gitlab site…
2
votes
1 answer

OKD 4.5 single node installation

I'm trying to build an OKD 4.5 single node cluster following Craig Robinson blog post (at https://medium.com/swlh/guide-okd-4-5-single-node-cluster-832693cb752b). I faced with this issue first on bootstrap node, but after deleting and recreating the…
2
votes
1 answer

Starting Codeready Container with libvirt cause "format of backing image was not specified in the image metadata"

I'm trying to use CRC for testing Openshift 4 on my laptop (Ubuntu 20). CRC version 1.17 doesn't support Virtualbox virtualizazion so following the setup…
1
2 3 4 5 6 7