Answer the question
In order to leave comments, you need to log in
Nginx in Docker on Mac OS X - permissions?
Container creation:
docker run --name nginx_monit -d -p 80:80 -v \
/Users/art1ove/Projects/nginx/default.conf:/etc/nginx/conf.d/default.conf \
-v /Users/art1ove/Projects/issuesdb.d:/usr/share/nginx/html nginx
2016/02/21 14:05:11 [error] 6#6: *1 "/usr/share/nginx/html/index.json" is forbidden (13: Permission denied), client: 192.168.99.1, server: localhost, request: "GET / HTTP/1.1", host: "192.168.99.100"
# ls -l /usr/share/nginx
total 0
drwxr-x--- 1 1000 staff 2584 Feb 21 12:33 html
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question