Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when creating proxy on Windows #312

Closed
JesHansen opened this issue Apr 16, 2018 · 1 comment
Closed

Error when creating proxy on Windows #312

JesHansen opened this issue Apr 16, 2018 · 1 comment

Comments

@JesHansen
Copy link

I tried using the docker-compose file in /.examples/docker-compose/with-nginx-proxy/mariadb/apache, but was not successful.
Machine specs:
OS: Win10-1709
docker --version: Docker version 18.03.0-ce, build 0520e24

Below the console log from running docker-compose

src\Docker\NextCloud $ docker-compose up
Creating network "nextcloud_default" with the default driver
Creating network "nextcloud_proxy-tier" with the default driver
Creating volume "nextcloud_db" with default driver
Creating volume "nextcloud_nextcloud" with default driver
Creating volume "nextcloud_certs" with default driver
Creating volume "nextcloud_vhost.d" with default driver
Creating volume "nextcloud_html" with default driver
Building db
Step 1/2 : FROM mariadb
latest: Pulling from library/mariadb
f2b6b4884fc8: Pull complete
26d8bdca4f3e: Pull complete
74f09e820cce: Pull complete
5390f1fe4554: Pull complete
3d3f1706a741: Pull complete
2942f66426ea: Pull complete
97ee11d39c75: Pull complete
590c46ef722b: Pull complete
32eb4b9666e5: Pull complete
fc883f98a064: Pull complete
bb8bee61bc1e: Pull complete
Digest: sha256:6135f5b851e7fe263dcf0edf3480cdab1ab28c4287e867c5d83fbe967412ea14
Status: Downloaded newer image for mariadb:latest
 ---> ca06ca3d8fad
Step 2/2 : COPY transaction-isolation.conf /etc/mysql/conf.d/transaction-isolation.conf
 ---> bc84412d64c6
Successfully built bc84412d64c6
Successfully tagged nextcloud_db:latest
WARNING: Image for service db was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Pulling app (nextcloud:apache)...
apache: Pulling from library/nextcloud
f2b6b4884fc8: Already exists
8db887c45800: Pull complete
6e0e41c52c70: Pull complete
fbc9ac078c49: Pull complete
c4c6f6be7488: Pull complete
a28db8adaf05: Pull complete
61afa9c0aff1: Pull complete
a30b1659c046: Pull complete
b04c4f5caef7: Pull complete
7278cc5a29f0: Pull complete
147f057d2659: Pull complete
3cf22ca2bf74: Pull complete
e2414da87e5c: Pull complete
fb11d4e98093: Pull complete
a87e2a6c6127: Pull complete
61352a54f9f5: Pull complete
3ee5b28104f3: Pull complete
7819fae509d3: Pull complete
404080678f59: Pull complete
1bfc73fb1e8c: Pull complete
32b611c6f53f: Pull complete
Digest: sha256:d293115a5b2f385566c9f476558897ffd28f5d6fe1e417fcfef8d152a481c4a4
Status: Downloaded newer image for nextcloud:apache
Building proxy
Step 1/2 : FROM jwilder/nginx-proxy:alpine
alpine: Pulling from jwilder/nginx-proxy
ff3a5c916c92: Already exists
f9c32daa8fe9: Pull complete
655cd391f0aa: Pull complete
64b82947328a: Pull complete
b6e0080d5950: Pull complete
dbcd286c0709: Pull complete
7941f869cee3: Pull complete
2fe88c412fc0: Pull complete
e92c176d638a: Pull complete
3e03b578dd35: Pull complete
fb710962d75b: Pull complete
Digest: sha256:dda473a4bcb6fb8c2991ee5d7dea7aec060a62173446ebfa17c94c74ba7702d0
Status: Downloaded newer image for jwilder/nginx-proxy:alpine
 ---> 5b8952c771f3
Step 2/2 : COPY uploadsize.conf /etc/nginx/conf.d/uploadsize.conf
 ---> f1c3fd24d69b
Successfully built f1c3fd24d69b
Successfully tagged nextcloud_proxy:latest
WARNING: Image for service proxy was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Pulling letsencrypt-companion (jrcs/letsencrypt-nginx-proxy-companion:latest)...
latest: Pulling from jrcs/letsencrypt-nginx-proxy-companion
ff3a5c916c92: Already exists
bf2a6f5fc37d: Pull complete
b9407aff18b2: Pull complete
6e688153ce89: Pull complete
07967c51675d: Pull complete
2e24b8dd44c9: Pull complete
Digest: sha256:c8448644ae614f387421d03cadb96baa41108ed0434369e7ab74d2671ea19e86
Status: Downloaded newer image for jrcs/letsencrypt-nginx-proxy-companion:latest
Creating nextcloud_db_1 ...
Creating nextcloud_proxy_1 ... error

Creating nextcloud_db_1    ... done
n\\\\docker.sock:/tmp/docker.sock"\nis not a valid Windows path'
Creating nextcloud_app_1   ... done

ERROR: for proxy  Cannot create container for service proxy: b'Mount denied:\nThe source path "\\\\var\\\\run\\\\docker.sock:/tmp/docker.sock"\nis not a valid Windows path'
ERROR: Encountered errors while bringing up the project.
src\Docker\NextCloud $

Any ideas I might try to resolve this issue?

@tilosp
Copy link
Member

tilosp commented Aug 24, 2018

See: nginx-proxy/nginx-proxy#1110

@tilosp tilosp closed this as completed Aug 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants