docker-archive / toolbox

The Docker Toolbox
https://docker.com/toolbox
3.21k stars 1.23k forks source link

Kitematic (Alpha) - Rel. April 2017 + cygwin64 + windows10 #681

Open joaofnfernandes opened 7 years ago

joaofnfernandes commented 7 years ago

@HoloSound commented on Thu May 04 2017

Problem description

Windows 10 German Cygwin64 Kitematic (Alpha) - Rel. April 2017

Problem location

user@host /cygdrive/c/Program Files/Docker Toolbox
$ ./start.sh
./start.sh: Zeile 41: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe: Kommando nicht gefunden.
rm: das Entfernen von '/cygdrive/c/Users/a8900scr/.docker/machine/machines/default/default/Logs/VBox.log' ist nicht möglich: Device or resource busy
rm: das Entfernen von '/cygdrive/c/Users/a8900scr/.docker/machine/machines/default/default/Logs/VBoxHardening.log' ist nicht möglich: Device or resource busy
Looks like something went wrong in step ´Checking if machine default exists´... Press any key to continue...

user@host /cygdrive/c/Program Files/Docker Toolbox
$ ls -l start.sh
-rwxrwx---+ 1 Administratoren Domänen-Benutzer 2863  6. Apr 18:10 start.sh

user@host /cygdrive/c/Program Files/Docker Toolbox
$

Project version(s) affected

Kitematic (Alpha) - Rel. April 2017

Suggestions for a fix

In my installation of virtual Box - the Installation Path is

user@host /cygdrive/c/Program Files/Docker Toolbox
$ echo $VBOX_MSI_INSTALL_PATH
C:\Program Files\Oracle\VirtualBox\

user@host /cygdrive/c/Program Files/Docker Toolbox
$

These Back-Slashes produce errors in cygwin!

Therefore I coded the exchange of Back-Slashes.

user@host /cygdrive/c/Program Files/Docker Toolbox
$ diff start.sh start_new_20170406.sh
40a41,43
> # 20170502 - RS - cygwin differences
> VBOXMANAGE=` echo "${VBOXMANAGE}" | /usr/bin/sed -e 'sx\\\\x/xg' `
>

user@host /cygdrive/c/Program Files/Docker Toolbox
$

Rem.: Fault already reported in: Closed #187 !!!


@joaofnfernandes commented on Tue Aug 22 2017

Since this is a product feature, I'm moving this issue to the Kitematic repo.


@joaofnfernandes commented on Tue Aug 22 2017

Issue moved to docker/kitematic #2984 via ZenHub

gavenkoa commented 7 years ago

Have same issue. I refused to install Git for Windows as I have Cygwin and don't like to mix things at PATH.

With procexp I found that Kitematic issue:

ssh.exe -F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none docker@127.0.0.1 -o IdentitiesOnly=yes -i C:\Users\user\.docker\machine\machines\default\id_rsa -p 52455 "exit 0"

with Windows slashes in a path.

Changing slashes angle or setting:

export DOCKER_CERT_PATH=C:/Users/user/.docker/machine/machines/default

allows to pass further but still Kitematic failed on keys setup. It is definitely in Alpha stage as stated during installation. Not usable.