Tag: nginx

Why am I getting this Nginx error about “No such file or directory”?

I am trying to create a local pip2pi repo and then serve it up via Nginx. I have successfully created the repo and have all the wheel files I am wanting on my local machine. They are located like this: /home/user/code/misc/pip-packs/simple \ —index.html — amqp \ ——– index.html ——– amqp-1.4.6-py2-none-any.whl — django \ ——– index.html […]

docker to connect with mysql database of host system and dump the sql file into host system and then host a web application

I am new to Docker but i have read quite about it. Now my requirement is: I will give my client a shell script which he would run on a base ubuntu os on a completely new system. The docker image should use the database of host system. The shell script will do all the […]

Docker Compose NGINX Proxy and Static Files

For some reason, my docker-compose/node/nginx stack is having trouble serving static files. The reverse proxy side works but serving my css and javascript fails. For every static file requested, I get an error like this: customnginx_1 | 2016/03/29 22:42:13 [error] 6#6: *1 open() “/var/www/static/styles/normalize.css” failed (2: No such file or directory), client: 192.168.99.1, server: , […]

Docker stop responding under load

notice that docker stop responding under load. Here is the steps to reproduce the issue: docker-machine create -d virtualbox web docker-machine ip web 192.168.99.253 eval $(docker-machine env web) docker run –name app -d -p 3000:3000 ragesh/hello-express ab -n 100000 -c 100 http://192.168.99.253:3000/ Server Hostname: 192.168.99.253 Server Port: 3000 Document Path: / Document Length: 207 bytes […]

Multiple Websites and PHP Versions with Docker-Compose

At the moment I’m building my own dev environment because I want to get rid of MAMP. I created a docker-compose file with a nginx proxy and it’s basically working. My problem is, that several old php projects require different php versions. Here is how far I already got with my compose file: version: ‘2’ […]

Ember in docker with nginx can't reach server container

I’ve got a strange issue where my ember application can’t reach the backend server running in a different docker container (on the same host though). Both containers are running and can talk to each other. I can reach the server from the web container using docker-compose exec web curl http://server:8080/token for example. However whenever trying […]

Docker: Curl errors when attempting to contact app in same container

I’ve got some problems with Docker and cURL. I have a Docker-compose container set as follow: app: image: busybox volumes: – /home/ben/dev/dummy/www/:/data/www/ – /home/ben/dev/dummy/logs/:/data/logapache/ – /home/ben/dev/dummy/flux-entrants/:/data/flux-entrants/ nginx: image: docker.dummy.fr/nginx volumes_from: – app ports: – 80:80 links: – php php: image: docker.dummy.fr/actus-php volumes_from: – app ports: – 9000:9000 links: – db – nosql db: image: docker.dummy.fr/mysql-5.6 […]

Docker volume not mounting on Windows

Already added my workspace (W:\) drive to Shared folders, but can’t mount it as volume on Docker containers. Any tips?

How to get user ip, if the requests go through hyberkube?

Nginx is losing the IP of the user as the queries go through the hyberkube proxy and he substitutes your IP address. How can I avoid this? Wait for version 1.4? https://github.com/kubernetes/kubernetes/issues/10921

Unable to push Docker (1.10.2) image to Artifactory through reverse proxy Nginx , error 'Unknown Blob'

We push our Docker images to Artifactory with Nginx as reverse proxy. Recently we upgraded from Docker 1.7.1 to Docker engine 1.10.2 and also upgraded our Artifactory to 4.10.0 but now we unable to push images to artifactory through nginx and it fails as ‘Unknown Blob’ error. The push refers to a repository [dockerlocal.com/sshd] 8dc8fc892123: […]

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.