Category : openshift

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 ..

Read more

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 ..

Read more

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 ..

Read more