Re: nginx and uwsgi in docker in vagrant in vmware - Permission denied on socket

2017-08-19 Thread Larry Martell
Inside the docker container the dir is /opt/django/CAPgraph/. That is mounted as a volume in docker from a dir in the vagrant/virtual box VM from /home/vagrant/CAPgraph. That dir is virtual box disk is created as C:\Users\Administrator\VirtualBox VMs\CAPgraph_default_1503066942637_58036\box-disk1

Re: nginx and uwsgi in docker in vagrant in vmware - Permission denied on socket

2017-08-19 Thread Guilherme Capilé via nginx
Ola, are you trying to create a linux socket on a directory mounted from a windows disk? afaik, it won't work, it's not only about file permissions, but a socket is a different type of file. Place the socket somewhere else (like /var/run/aoo.sock). Cheers, Guilherme Capilé On Sat, Aug 19, 2017

Re: nginx and uwsgi in docker in vagrant in vmware - Permission denied on socket

2017-08-19 Thread Etienne Robillard
Have you tried to run uwsgi as root ? E Le 2017-08-19 à 15:59, Larry Martell a écrit : Don't ask why, but on my mac I am running Windows Server 2016 in VMware. In there I am running Ubuntu in vagrant/Virtual Box. In there I am trying to run a django app in a docker container with nginx/uwsgi.

nginx and uwsgi in docker in vagrant in vmware - Permission denied on socket

2017-08-19 Thread Larry Martell
Don't ask why, but on my mac I am running Windows Server 2016 in VMware. In there I am running Ubuntu in vagrant/Virtual Box. In there I am trying to run a django app in a docker container with nginx/uwsgi. The socket is being created, but then when I try and connect to the site it fails with this