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

docker-compose yamls not running on Windows 7 #19

Open
kletkeman opened this issue Jan 11, 2017 · 9 comments
Open

docker-compose yamls not running on Windows 7 #19

kletkeman opened this issue Jan 11, 2017 · 9 comments

Comments

@kletkeman
Copy link

kletkeman@tp-letkemank /c/blockchain/src/github.com/IBM-Blockchain/fabric-images/docker-compose (master)
$ docker-compose -f single-peer-ca.yaml up
Traceback (most recent call last):
File "", line 3, in
File "compose\cli\main.py", line 65, in main
File "compose\cli\main.py", line 117, in perform_command
File "compose\cli\main.py", line 849, in up
File "compose\project.py", line 372, in up
File "compose\project.py", line 539, in warn_for_swarm_mode
File "site-packages\docker\api\daemon.py", line 33, in info
File "site-packages\docker\utils\decorators.py", line 47, in inner
File "site-packages\docker\client.py", line 139, 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 1057, in request
File "httplib.py", line 1097, in _send_request
File "httplib.py", line 1053, in endheaders
File "httplib.py", line 897, in _send_output
File "httplib.py", line 859, 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 49, in connect
pywintypes.error: (2, 'WaitNamedPipe', 'The system cannot find the file specified.')
docker-compose returned -1

@kletkeman
Copy link
Author

BTW -- runs fine on MacOS

@masterDev1985
Copy link

I am able to run these docker-compose files on my Windows 7 system. My recommendation would be to uninstall Docker Toolbox, remove any trace of Docker, Python, and Oracle VirtualBox from your machine, and then reinstall Docker Toolbox. I suspect something is wrong with the Python installation on your machine. It's a shot in the dark, but nothing in this error message is a strong indicator to me that our compose files are causing the issues.

@kletkeman
Copy link
Author

Ok, Thanks. I'll try that when I get a chance. I am currently working on the Mac, where it is going well.

@jdstuart
Copy link

I have the same issue. Docker Tools on Windows 7

@pickworth
Copy link

i am getting the same issue on win 10

@mastersingh24
Copy link
Contributor

@jdstuart @nmors Looks like you are not even getting things up and running with docker-compose on Windows? (as an aside I recommend Docker for Windows whne using Win10).

One thing you need to make sure that you do is run all commands from the "Docker Quickstart Terminal"

@radhna
Copy link

radhna commented Feb 13, 2017

getting the folowing error while running yaml file from within Docker Toolbox on Win 7-
Radhna@ADMINIB-0AQ5PNL MINGW64 ~/blockchain/fabric-images/docker-compose (master)
$ docker-compose -f single-peer-ca.yaml up -d
Pulling membersrvc (ibmblockchain/fabric-membersrvc:x86_64-0.6.1-preview)...
←[31mERROR←[0m: Get https://registry-1.docker.io/v2/ibmblockchain/fabric-membersrvc/manifests/x86_64-0.6.1-preview: unauthorized: incorrect username or password

Can anyone help ?

@pickworth
Copy link

@mastersingh24 thanks. I was using git bash before, I figured that it now works fine when using the Docker Quickstart Terminal. I switched from Docker for windows using Hyper-V to Docker toolbox with VirtualBox.. Works fine now with toolbox, realising that this was the problem..

@Eddikos
Copy link

Eddikos commented Nov 5, 2017

@mastersingh24 Thanks a lot, I was using normal CMD and was surprised I it wouldn't work. Stupid me

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

7 participants