TritonDataCenter / sdc-docker

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

Failed CloudAPI access with windows docker client under Cygwin #26

Closed arnos closed 9 years ago

arnos commented 9 years ago

I was testing the new docker client under windows with the sdc-docker-setup.sh script and I ran into an error when veryfying the CloudAPI access.

sdc-docker-setup.sh: fatal error: invalid credentials
    You must add create the 'a***@***.com' account and/or add your SSH
    public key (/home/a***/.ssh/id_rsa.pub) to the
    given SmartDataCenter.
arnos commented 9 years ago

This was inside of Cygwin, but adding the setup support for windows (CMD, PS) would also solve this issue.

dwlf commented 9 years ago

@arnos did you recently install or update cygwin? It looks like OpenSSH_6.8p1 changes the output of ssh-keygen -l. Go back to OpenSSH_6.7p1 and you should be able to run the sdc-docker-setup.sh successfully.

(I haven't yet used docker itself on mswin.)

dwlf commented 9 years ago

@arnos this part of the issue is now fixed with https://smartos.org/bugview/DOCKER-324 .

dwlf commented 9 years ago

Confirmed that after copying files generated by sdc-docker-setup.sh from .sdc\docker to %USERPROFILE%\.docker that docker --tls -H tcp://us-east-3b.docker.joyent.com:2376 ps worked as expected.

arnos commented 9 years ago

I will test it tomorrow or Friday

thanks

On Wednesday, April 22, 2015, Lloyd Dewolf notifications@github.com wrote:

Confirmed that after copying files generated by sdc-docker-setup.sh from .sdc\docker to %USERPROFILE%.docker that docker --tls -H tcp:// us-east-3b.docker.joyent.com:2376 ps worked as expected.

— Reply to this email directly or view it on GitHub https://github.com/joyent/sdc-docker/issues/26#issuecomment-95369341.

arnos commented 9 years ago

ok it works with SDC

dwlf commented 9 years ago

Thanks @arnos !