Start Free Trial
Come for the solution, stay for everything else.
Start Free Trial
Docker nginx permissions problem
#CMD ['-c', "/etc/nginx/nginx.conf", '-g', "daemon off; client_body_temp_path /data/client_temp;"]
Running the following...
sudo docker run -v /var/log/nginx:/var/log/ng
inx:rw -v /etc/nginx/sites-enabled:/
led:ro -i -t centos-7-nginx-es -c /etc/nginx/nginx.conf -g "daemon off;"
nginx: [emerg] mkdir() "/opt/nginx-es-1.6.1-ssl1.
p" failed (13: Permission denied)
How can I troubleshoot and correct this permissions problem?
Linux OS Dev
8/22/2022 - Mon
what do you see with:
sudo docker info
ginx-es$ sudo docker info
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Execution Driver: native-0.2
Kernel Version: 3.13.0-40-generic
WARNING: No swap limit support
It's not a docker issue then.
Have you seen this document?:
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
I did come across this page, however, the URL near "The directive required is client_body_temp_path and it's documented here." links to a site that is no longer active. Do you have any insight as to the specific configuration changes required in order to remedy this?
ASKER CERTIFIED SOLUTION
Log in or sign up to see answer
Become an EE member today
7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Plans and Pricing
Certified Expert Program
© 1996-2022 Experts Exchange, LLC. All rights reserved. Covered by US Patent