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
2
votes
0 answers

podman pod change port mapping

I created a pod with an image to publish a nextjs site that has a lot of manual modifications I originally created the pod and image with the image port 3000 mapped to the host port 3000 using this one-liner: podman run -dt --pod new:alpinenpmpod -p…
AveryFreeman
  • 1,061
  • 2
  • 14
  • 23
2
votes
0 answers

Binary build in OpenShift does not work but locally works

I have the following situation. I created a build in OpenShift: oc new-build --strategy docker --binary --docker-image centos:centos7 --name myapp And locally there is nothing fancy. I have a .war file and Dockerfile: FROM…
2
votes
0 answers

Openshift 4.2 on VMware Vsphere, Loadbalancer Configuration and Understanding

Recently I have tried to install openshift 4.2 on VMWare and followed this documentation https://blog.openshift.com/openshift-4-2-vsphere-install-with-static-ips/ so I was able to install it successfully and it's working fine. But this installation…
Nikit Swaraj
  • 657
  • 4
  • 8
  • 21
2
votes
1 answer

Installing "en_US" in RHEL container

I'm testing an ansible role using molecule. The role install a corporate binary over which I've no insight, I'm just mean to ./binary --silent and that's it. Over RedHat. It work for a RedHat 6.9 VM. But it doesn't work over the docker container…
Rémy
  • 364
  • 1
  • 14
2
votes
1 answer

What are the RedHat Minishift hardware requirements?

As much as I've looked, I can't find the hardware requirements for running minishift. Nothing mentioned in the Container Development Kit documentation, and the OpenShift documentation only mentions hardware requirements for production deployments.…
rayascott
  • 1,012
  • 9
  • 9
2
votes
1 answer

Red Hat Development Suite missing rhel-7-server-devtools-rpms

What's the trick to enabling rhel-7-server-devtools-rpms? I have a Red Hat Enterprise Linux Developer Suite subscription and have been trying to install Red Hat Development Suite in RHEL7. Following the steps outlined in the installation guide: #…
Dennis Labajo
  • 23
  • 1
  • 4
2
votes
1 answer

Minishift: Problems starting

I am trying to get minishift runnin on my machine (Windows 10) with Virtualbox 5.1.24. Minishift version: 1.0.0+4f8cb6d CDK Version: 3.0.0-2 Starting minishift gives me the following: C:\>minishift start --vm-driver virtualbox Starting local…
Alex Menz
  • 51
  • 1
  • 5
1
vote
1 answer

How to list what is installed in a linux distribution that is using microdnf as package manager?

I'm trying to create an image based on https://hub.docker.com/r/redhat/ubi9-minimal which has microdnf as its package manager. I noted that after I installed python3 on it, some more packages was installed other than its direct dependencies. I want…
Cristiano
  • 1,414
  • 15
  • 22
1
vote
1 answer

How to install x509 certificate to the Personal store Current User in Openshift4 Pod?

I need to install the certificate to the personal store of CurrentUser in openshift4 pod. When I run the below code, it throws the error. private static void InstallCertificate(string cerFileName, string friendlyName) { X509Store…
titan
  • 41
  • 8
1
vote
1 answer

Configure custom maven settings.xml in openshift for builds

We are trying to build and deploy our applications in openshift. By default, the openshift is taking default maven settings.xml for building the application, which in-turn try to download the jars from repo https://repo1.maven.org/maven2. We have…
Nishu
  • 95
  • 3
  • 12
1
vote
1 answer

Pulling images from privately-hosted registry on Openshift deployments always yields "x509: certificate signed by unknown authority"

I am trying to deploy apps into an Openshift cluster (using oc apply -f .yaml), which involves pulling an image from a privately-hosted registry, and I'm running into the problem in the title. I am logged into the cluster and…
1
vote
0 answers

How to give non-root user permission to make and give access to a folder in a Dockerfile

I am trying to create/permission to folders using a non-root user using an image from ubi8/ubi-minimal redhat. Here are two questions: Make a folder: Another way to give non-user permission to create folders and give permission to folders. I have…
Bebe
  • 77
  • 1
  • 14
1
vote
1 answer

Podman(1): How to route requests between the HOST and PODs attached to a podman network (rootless)

Let me use a real example to aid this question. Using rootless podman(1), I start a tiny Spark cluster within it's own Pod using the following script, which works well: #! /usr/bin/bash podman network create --subnet 192.168.10.0/24 --gateway…
NYCeyes
  • 5,215
  • 6
  • 57
  • 64
1
vote
3 answers

Exposed ports from docker container cannot able to access on host server by IP Address in RedHat 8

I am running docker container in RedHat 8. In my docker container, I exposed port 8080 for accessible from outside. I can able to telnet 8080 from other servers but I cannot able to telnet 8080 from host server by IP address. [root@redhat1 biz]# cat…
1
vote
1 answer

Red Hat CodeReady containers - unable to access github.com

I have installed and setup CodeReady containers on my mac, tried creating a project using the sample node js application, but the build is failing with this message in the logs. Do we need to do any changes to CodeReady containers to access…
aryanRaj_kary
  • 503
  • 2
  • 7
  • 28