TritonDataCenter / sdc-docker

Docker Engine for Triton
Mozilla Public License 2.0
183 stars 49 forks source link

sdc-docker-setup.sh does not support 'Git bash' and 'Docker quickstart terminal' #61

Open xer0x opened 8 years ago

xer0x commented 8 years ago

The sdc-docker-setup.sh needs a small tweak on Windows to work for shells that use MinGW. This includes 'Git bash' and 'Docker quickstart terminal', but I don't know if Cygwin also has the same problem.

The Windows shell needs some escaping so it doesn't mangle an OpenSSL command. Unfortunately the escaping breaks that OpenSSL command on Unix.

I will make a PR for this once I've tested it on both Unix and Windows.

For background info see: https://github.com/joyent/sdc-docker/issues/58