Re: openshift-nginx docker image running as non-root

2016-05-06 Thread Aleksandar Lazic
Am 05-05-2016 19:14, schrieb Paulo Leal: Hi, I added the lines to my dockerfile Run ... && chmod 777 /var/log/nginx / && rm -rf /var/log/nginx/error.log / && rm -rf /var/log/nginx/access.log It worked for me! When you want to read the files you call ### oc rsh cat /var/log/nginx

Re: openshift-nginx docker image running as non-root

2016-05-05 Thread Paulo Leal
Hi, I added the lines to my dockerfile Run ... && chmod 777 /var/log/nginx / && rm -rf /var/log/nginx/error.log / && rm -rf /var/log/nginx/access.log It worked for me! Thanks for your help. Paulo Leal On Thu, May 5, 2016 at 12:57 PM, Aleksandar Lazic wrote: > Hi. > > Am 04-05-2016

Re: openshift-nginx docker image running as non-root

2016-05-05 Thread Aleksandar Lazic
Hi. Am 04-05-2016 23:50, schrieb Francis Daly: On Wed, May 04, 2016 at 06:25:01PM -0300, Paulo Leal wrote: Hi there, Completely untested by me; and I've not used openshift or docker, but: I have been playing around with the https://github.com/nginxinc/openshift-nginx dockerfile and trying t

Re: openshift-nginx docker image running as non-root

2016-05-04 Thread Francis Daly
On Wed, May 04, 2016 at 06:25:01PM -0300, Paulo Leal wrote: Hi there, Completely untested by me; and I've not used openshift or docker, but: > I have been playing around with the > https://github.com/nginxinc/openshift-nginx dockerfile and trying to find > a way to run run nginx as non-root wit

openshift-nginx docker image running as non-root

2016-05-04 Thread Paulo Leal
Hi, I have been playing around with the https://github.com/nginxinc/openshift-nginx dockerfile and trying to find a way to run run nginx as non-root with openshift/k8/docker. I am currently getting the error: nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (

Re: Fwd: openshift-nginx docker image running as non-root

2015-11-11 Thread Aleksandar Lazic
Dear Scott. I think this is not a devel question so I answer primarly to nginx list. Am 11-11-2015 19:23, schrieb Scott Creeley: - Forwarded Message - From: "Scott Creeley" To: nginx-de...@nginx.org Sent: Wednesday, November 11, 2015 12:13:49 PM Subject: openshift-nginx do