IBM-Blockchain-Archive / fabric-images

Docker images and Docker Compose files for running the Hyperledger fabric
Apache License 2.0
36 stars 50 forks source link

ERROR: for vp Cannot create container for service up #27

Closed qianlizimu closed 7 years ago

qianlizimu commented 7 years ago

I used Docker Toolbox on Windows 7. I have pulled the fabric images and when I ran the ". setenv.sh" command and "docker-compose -f single-peer-ca.yaml up" command, I found this error message: ERROR: for vp Cannot create container for service up: create \var\run\docker.sock: "\var\run\docker.sock" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path. <-[31mERROR<-[0m: Encountered errors while bringing up the project.

How to deal with this? Thanks!

mrshah-at-ibm commented 7 years ago

I recommend not using Docker Toolbox.. we have seen issues with it. It will be good if you can try it on a Linux box

qianlizimu commented 7 years ago

@mrshah-at-ibm Thanks, but I'm not very familiar with Linux box. I cannot find where to download it on the Internet. How to install it? Can I use it in the Ubuntu(Linux) of VMware virtual machine or just in Windows? Thank you!

mrshah-at-ibm commented 7 years ago

yes you can use Ubuntu of VMware virtual machine. You can use Virtualbox and install a Linux VM on it. You will find a lot of tutorials online.

qianlizimu commented 7 years ago

OK, Thanks!