I’m trying to create a application from a dockerfile in my Private Bitbucket repo, when I go through the web console to make it I’ve tried using both the SSH and HTTP url’s and the ssl/user+pass secrets but its not detecting the Dockerfile in my repo. I’ve also tried using the CLI to create it ..
The spring boot application is deployed on openshift 4. The openshift container has configured volume mount on the type nfs. The container on openshift creates a pod with random userid as sh-4.2$ id uid=1031290500(1031290500) gid=0(root) groups=0(root),1031290500 The mount point is /nfs/abc sh-4.2$ ls -la /nfs/ ls: cannot access /nfs/abc: Permission denied total 0 drwxr-xr-x. 1 ..
I placed a docker image in openshift. When this docker image tries to create a new file, I get a permission denied error. How can I grant write permission to the file for Docker. My dockerFile : FROM mcr.microsoft.com/dotnet/aspnet:5.0 COPY bin/Release/net5.0/publish/ Lock.MsSql.WebApi/ WORKDIR /Lock.MsSql.WebApi ENV ASPNETCORE_URLS=http://+:8080 RUN chgrp -R 0 /run && chmod -R g=u ..
Complete hosting newbie here looking to gain the basic concept before digging deeper in technical knowledge, since I can’t find good information online that sum these up, had to ask here, please feel free to also correct me if I got anything wrong. For all I know, to host an API securely involves running container ..
I have the below yaml which is running fine in kubernetes but not working in Openshift with below error. Many more components yaml run seamlessly and this log path is created but only for this one it is not working. Error: Warning FailedPostStartHook 12m (x2 over 12m) kubelet Exec lifecycle hook ([/bin/sh -c echo "`date ..
I’m trying to deploy an image from docker.io "docker.io/library/jboss-webserver54-openjdk11-tomcat9-openshift-rhel7:latest" and its giving an error, it happens with others images also. It is giving me the error: you may not have access to the container image "docker.io/library/jboss-webserver54-openjdk11-tomcat9-openshift-rhel7:latest" I’m behind a proxy so maybe that’s the problem, maybe I have to login to docker or enable something ..
I am trying to deploy a Spring Boot application from GitHub to Openshift and getting error on creating pod. Using oc new-app [GIT REPOSITORY] –as-deployment-config Here is Dockerfile – multistage build # Build stage FROM maven:3.6.0-jdk-8-slim AS build COPY . /cgi ENV HOME /cgi WORKDIR /cgi # Set permissions to the /cgi folder (for OpenShift) ..
We are trying to deploy an ASP.Net Core Web API (5.0) in Openshift environment. Though the hosting/deployment is successful we are not able to access the API. (attached is the screenshot). We tried with .Net Core WebApp (5.0) and its working as expected. Is there any need of extra configuration with port/reverse proxy for .net ..
I am building a Podman image for Openshift, and have an issue with permissions. Following this guide, and because Openshift assigns a random UID and a GID "0" when running containers, I try to chmod the /etc/passwd to be writable by its group and add my Openshift user in it at runtime; but it seems ..
I need to deploy a spring boot app (docker image) in openshift via jenkins, to achieve this I am doing the below steps, I created the docker image of spring boot app using the jenkins pipeline ‘freestyle’ template – pushed that docker image in ‘Artifactory‘ registory The above two steps are completed successfully, But I ..