Closed sebmate closed 3 years ago
OK, the error above is caused by spaces in the current working directory (could probably be mitigated by putting $PWD into quotes). However, after renaming the directory (while NOT trying to fix the above issue) I run into the following issue:
Create num node docker network, if it does not exist... Creating longer Diffie-Hellman Prime for extra security... this may take a while \n\n Can't open C:/Program Files/Git/export/dhparam.pem for writing, No such file or directory 140139048648008:error:02001002:system library:fopen:No such file or directory:crypto/bio/bss_file.c:69:fopen('C:/Program Files/Git/export/dhparam.pem','w') 140139048648008:error:2006D080:BIO routines:BIO_new_file:no such file:crypto/bio/bss_file.c:76: /c/Users/matesn/Documents/Development/GitHub/num-knoten_c/node-rev-proxy/dhparam.pem Generating default certificate... Generating a RSA private key .............................................................++++ ....................................................++++ writing new private key to 'C:/Program Files/Git/export/key.pem' req: Can't open "C:/Program Files/Git/export/key.pem" for writing, No such file or directory generating user: user , with password: password
As explained in the readme.md: On Windows 10 systems and when using Git Bash, you may encounter a path-related problem. The problem can be mitigated by executing "export MSYS_NO_PATHCONV=1" before running the script (details: https://github.com/docker/toolbox/issues/673).
that does not work, except when using https://github.com/rprichard/winpty/releases, seems to be a bug.
01_start-single-host-environment.sh causes Docker error (invalid reference format) on Windows system. Console output:
Create num node docker network, if it does not exist... Creating longer Diffie-Hellman Prime for extra security... this may take a while docker: invalid reference format. See 'docker run --help'.