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
0
votes
1 answer

Openshift pod container ready shows 0/1

I have deployed my service running on spring boot in openshift. The spring boot service initializes good and we see the below logs which is good. 2020-05-06 19:32:33.930 INFO 1 --- [ main] c.a.r.l.MyApplication : Started MyApplication…
lr-pal
  • 339
  • 2
  • 6
  • 20
0
votes
1 answer

API for redhat base image to get values of image tags?

Do we have an API to programmatically get the value of image tags for the below image? https://access.redhat.com/containers/?tab=tags&get-method=registry-tokens#/registry.access.redhat.com/rhel7 Use case: Grab the later version if a new tag version…
learner
  • 2,480
  • 10
  • 50
  • 94
0
votes
1 answer

OpenShift - Credentials look-up for importing image

I am able to a launch an application with the Redis image from RedHat - registry.redhat.io/rhel8/redis-5 using the following steps. Create a service account at RedHat https://access.redhat.com/ Download the YAML (see below) for image pull secret…
cogitoergosum
  • 2,309
  • 4
  • 38
  • 62
0
votes
1 answer

Setting up GitHub webhooks for an OpenShift build

I tried to set up a github webhook to trigger builds on OpenShift following these docs. I am confused about two things: (1) When I create the secret, as prescribed by the above docs, do I need to create one YAML entry or two? Ie. are the following…
gen
  • 9,528
  • 14
  • 35
  • 64
0
votes
2 answers

Get the current and the most latest CPU and Memory usage of all the pods

I would like to know how to get current or the last read metric value of CPU and memory usage of all pods. I tried to call the hawkler endpoint. I went to the browser developer mode by hitting f12 and took this endpoint from list of calls that are…
lr-pal
  • 339
  • 2
  • 6
  • 20
0
votes
1 answer

Minishift/CDK getsockopt: connection refused ()

Good day Referring to https://developers.redhat.com/products/cdk/hello-world/#fndtn-windows Having: CDK v3.6.0-1, minishift v1.24.0, Virtualbox v5.2.6, Windows 10 When running cmd minishift start from Windows PowerShell, Minishift VM is running,…
Nic
  • 61
  • 1
  • 1
  • 5
0
votes
1 answer

HYPERV_VIRTUAL_SWITCH deprecated, to replace by what?

following the tutorial for windows https://developers.redhat.com/products/cdk/hello-world/#fndtn-windows it is mentioned to use HYPERV_VIRTUAL_SWITCH when launching "minishift start", it is mentioned that using this environment variable is…
Aurélien Pupier
  • 724
  • 1
  • 8
  • 23
0
votes
1 answer

Enable minishift/cdk metrics

I am trying to configure the Container developtment Kit to support metrics. The documentation that I have found doesn´t work. It is possible to enable the metrics?. I am tring to configure the CDK to see the autoscaled. Thanks.
Iñigo
  • 1
0
votes
1 answer

docker pull registry.access.redhat.com throws error HTTP 403

When I try to pull docker image from registry.access.redhat.com it throws an error. Does anyone encounter this issue? docker -D pull registry.access.redhat.com/rhel7:7.2-104 Error response from daemon: error parsing HTTP 403 response body:…
sothish
  • 416
  • 3
  • 8
0
votes
1 answer

A procedure to install minishift on Fedora?

This nice article describe very well how to install minishift on Windows, MacOS and RHEL: Hello World! Unfortunately, there is no procedure for Fedora, can you provide some guidelines?
dmarrazzo
  • 175
  • 7
0
votes
1 answer

Docker: unable to push to insecure private registry

I have tried every fix that I have found on the internet and cant seem to get a solution.. I am able to login to the insecure registry because I have the following in the /etc/sysconfig/docker file: other_args="--insecure-registry http://10.3.31.105…
aphexlog
  • 1,503
  • 3
  • 16
  • 43
0
votes
1 answer

SQL Server connectivity on Openshift platform

I have a SQL Server deployed on Openshift Container platform, on a RHEL image. The server is accessible using the SQLCMD command from the container itself. But when I try to access the same server from outside the container/pod, I get a very strange…
0
votes
0 answers

Redhat CDK could not find matching ip for mac windows/vpn software

Question: How do I get CDK to work on the corporate laptop using virtualbox without running into the 'could not find mathcing ip for mac' issue? environment: Windows7, CDK 3.2.0, Virtualbox 5.0.x/5.1.x various versions tried. Key callout, corporate…
dhartford
  • 1,125
  • 2
  • 12
  • 35
0
votes
0 answers

Minishift start using hyper-v on windows 10 fails with E1011

Windows 10 Version 1607 minishift v1.3.1+a2d3799 CDK v3.1.1-1 Vagrant 2.0.0 When I try to start minishift I'm getting an error pretty early on: PS C:\minishift> minishift start Starting local OpenShift cluster using 'hyperv' hypervisor... E1011…
Mike B
  • 1
  • 1
0
votes
1 answer

ifconfig: cannot open /proc/net/dev in Centos 7 container on RHEL7.3

I'm getting this error while running "ifconfig" command in my CentOS 7 container The error i get is cannot open /proc/net/dev (Permission Denied) how to solve this..??? I'm getting this problem in my each container. I give full permission to…
pankaj
  • 85
  • 1
  • 8