Author : Bilal Yousaf

I am currently running into a problem trying to set up a new user rather than using root in my docker file. The image builds fine, however when I run the container I get the following error: nginx: [emerg] mkdir() "/var/lib/nginx/tmp/client_body" failed (13: Permission denied) Below is my dockerfile. I am using redhat UBi image ..

Read more

Hi I am getting the following errors as I try to implement a new user in my dockerfile rather than using the root user. 2020-10-16T09:28:04.554363522Z nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:5 2020-10-16T09:28:04.564383012Z nginx: [emerg] mkdir() "/var/lib/nginx/tmp/client_body" failed (13: Permission denied) 2020-10-16T09:28:06.882365055Z nginx: ..

Read more

I have the following dockerfile set up, in which i am trying to creating a newuser instead of using the root user. Dockerfile USER root RUN microdnf –setopt=tsflags=nodocs install -y nginx procps shadow-utils net-tools ca-certificates dirmngr gnupg wget vim && microdnf clean all && rpm -q procps-ng ENV NGINX_USER="api-gatway" NGINXR_UID="8987" NGINX_GROUP="api-gatway" NGINX_GID="8987" RUN set -ex; ..

Read more

Hi I have am using the solr dockerfile and adding a .jar file with it and creating the docker image. This is the .jar file I have been trying to add into my docker image ARG JAR_FILE=target/jts-core-1.15.0-javadoc.jar ADD ${JAR_FILE} /server/solr-webapp/webapp/WEB-INF/lib/testing.jar Below is my docker-file which I have been using to create, I have also added ..

Read more