docker-compose up fails when run on a docker version 1.7 up of installed through docker toolbox on win 7
See original GitHub issue~ docker-compose up
Traceback (most recent call last):
File "docker-compose", line 3, in <module>
File "compose\cli\main.py", line 68, in main
File "compose\cli\main.py", line 118, in perform_command
File "compose\cli\main.py", line 928, in up
File "compose\project.py", line 414, in up
File "compose\project.py", line 640, in warn_for_swarm_mode
File "site-packages\docker\api\daemon.py", line 90, in info
File "site-packages\docker\utils\decorators.py", line 46, in inner
File "site-packages\docker\api\client.py", line 189, in _get
File "site-packages\requests\sessions.py", line 488, in get
File "site-packages\requests\sessions.py", line 475, in request
File "site-packages\requests\sessions.py", line 596, in send
File "site-packages\requests\adapters.py", line 423, in send
File "site-packages\requests\packages\urllib3\connectionpool.py", line 595, in urlopen
File "site-packages\requests\packages\urllib3\connectionpool.py", line 363, in _make_request
File "httplib.py", line 1042, in request
File "httplib.py", line 1082, in _send_request
File "httplib.py", line 1038, in endheaders
File "httplib.py", line 882, in _send_output
File "httplib.py", line 844, in send
File "site-packages\docker\transport\npipeconn.py", line 31, in connect
File "site-packages\docker\transport\npipesocket.py", line 22, in wrapped
File "site-packages\docker\transport\npipesocket.py", line 50, in connect
pywintypes.error: (2, 'WaitNamedPipe', 'The system cannot find the file specified.')
Failed to execute script docker-compose
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Docker Compose release notes
Dependencies update: Updated Docker CLI version used in CI to v20.10.17. Dependencies update: Bumped github.com/containerd/containerd from 1.6.6 to 1.6.7.
Read more >Why is Docker installed but not Docker Compose?
docker -compose from the repository is in version 1.8.0 (at least at me). This docker-compose version does not support configuration files in version...
Read more >Can't mount a volume on Windows 7 · Issue #607 - GitHub
I'm getting this error when I run docker-composer up : ERROR: for php Cannot create container for service php: Invalid bind mount spec...
Read more >How To Install Docker on Windows 7/8/10 Home and Pro
b – Run the Docker Toolbox installer for Windows. c – Run the Docker Quickstart for Windows. 2 – Install Docker on Windows...
Read more >Install using Docker Compose - Alfresco Docs
Check system start up · Open a new terminal window. · Change directory to the docker-compose folder that you created in the deployment...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
– SOLUTION – (Warning: this will remove all your docker settings and data, so use caution, and at own risk)
docker-compose up
- And Voila!Basically in the initial build of Postgres, if you built the image with another app, it doesn’t run the init.db thus does not install the module for
uuid-ossp
. With the clean reset, it forces Docker to rebuild the Postgres image with the init.db file. (Well at least this is my theory, and why this process worked for me.)You can now launch the API app without a Docker.