andreaskoch / dockerized-magento

A dockerized Magento Community Edition 1.9.x
BSD 3-Clause "New" or "Revised" License
278 stars 144 forks source link

Nginx error #45

Open staljaard-zz opened 7 years ago

staljaard-zz commented 7 years ago

error: `Status: Downloaded newer image for andreaskoch/dockerized-magento-installer:latest Creating magento19_solr_1 Creating magento19_sessions_1 Creating magento19_fullpagecache_1 Creating magento19_mysql_1 Creating magento19_cache_1 Creating magento19_phpmyadmin_1 Creating magento19_php_1 Creating magento19_nginx_1

ERROR: for nginx Cannot start service nginx: driver failed programming external connectivity on endpoint magento19_nginx_1 (5d366ce0f8ac8c62aca58ebef0f1227d2e8a19c479d73a72e8939eb6d17c53a0): Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE) ERROR: Encountered errors while bringing up the project.`

Any idea what's causing this?

staljaard-zz commented 7 years ago

lol, nvm, my local apache was binding on 80

juslintek commented 6 years ago

Well I get this error:

barbe@MSI MINGW64 /d/www/dockerized-magento (master)
$ ./magento start
Creating dockerizedmagento_sessions_1 ...
Creating dockerizedmagento_fullpagecache_1 ...
Creating dockerizedmagento_cache_1 ...
Creating dockerizedmagento_solr_1 ...
Creating dockerizedmagento_mysql_1 ...
Creating dockerizedmagento_fullpagecache_1
Creating dockerizedmagento_sessions_1
Creating dockerizedmagento_cache_1
Creating dockerizedmagento_solr_1
Creating dockerizedmagento_mysql_1 ... done
Creating dockerizedmagento_phpmyadmin_1 ...
Creating dockerizedmagento_solr_1 ... done
Creating dockerizedmagento_php_1 ...
Creating dockerizedmagento_php_1 ... done
Creating dockerizedmagento_nginx_1 ...
Creating dockerizedmagento_nginx_1 ... error

ERROR: for dockerizedmagento_nginx_1  Cannot start service nginx: OCI runtime create failed: container_linux.go:295: starting container process caused "process_linux.go:399: container init caused \"rootfs_linux.go:57: mounting \\\"/d/www/dockerized-magento/config/nginx/nginx.conf\\\" to rootfs \\\"/mnt/sda1/var/lib/docker/aufs/mnt/4a5c81d770816d5cbf89e10c179dc5e11c86a6b7bf77a2480ab04f7c6655d500\\\" at \\\"/mnt/sda1/var/lib/docker/aufs/mnt/4a5c81d770816d5cbf89e10c179dc5e11c86a6b7bf77a2480ab04f7c6655d500/etc/nginx/nginx.conf\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

ERROR: for nginx  Cannot start service nginx: OCI runtime create failed: container_linux.go:295: starting container process caused "process_linux.go:399: container init caused \"rootfs_linux.go:57: mounting \\\"/d/www/dockerized-magento/config/nginx/nginx.conf\\\" to rootfs \\\"/mnt/sda1/var/lib/docker/aufs/mnt/4a5c81d770816d5cbf89e10c179dc5e11c86a6b7bf77a2480ab04f7c6655d500\\\" at \\\"/mnt/sda1/var/lib/docker/aufs/mnt/4a5c81d770816d5cbf89e10c179dc5e11c86a6b7bf77a2480ab04f7c6655d500/etc/nginx/nginx.conf\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
ERROR: Encountered errors while bringing up the project.

barbe@MSI MINGW64 /d/www/dockerized-magento (master)