-
Notifications
You must be signed in to change notification settings - Fork 1.2k
"Docker Quick Start Terminal" shortcut, an error occurs. #335
Comments
You'll have to edit the shortcut to resolve the issue with bash.exe. On Windows 7:
|
@lukemac1, In regards to your second issue, is it trying to connect to localhost? If so, see moby/moby#17871. |
Thank you @icnocop. That did it. After a restart, the second issue i raised about the ConnectEx tcp connection problem has resolved on its own for some reason. |
Thank you @icnocop . |
I think closing this is premature, as it's a bug that completely breaks the docker installation process. |
Sorry. Place open it again, should I issue # 343 and # 324 as it closes when it closes? |
This is still an issue, I just ran into the same problem. |
It worked for me! |
@sharsh Thank you. |
This is just an instance of unselecting Git and having docker search for git on its own. |
Same persisting bug after 6 months. After some 3 hours of lost time, didn't have to delete VirtuaBox in my case, but deleting Git for windows before installing docker toolbox for windows with Git, ( also VirtualBox selected in the option, nonetheless ) seems to have worked. |
Updated the shortcut to use the GIT bash.exe, and noticed that the the shortcut referenced C; vice D: (where I had installed DockerTools). Fix: so it appears to be a install issue. |
"D:\Program Files\Git\bin\bash.exe" --login -i "D:\Program Files\Docker Toolbox\start.sh"
It is hurt. |
Is anyway that just enter |
I had the same issue in my machine, I changed Program Files to Program Files (x86) in Git path, then everything worked just fine. |
Path was incorrect for me also, just searched for |
Check if you had installed GIT for Windows as Standalone package before. If so, uninstall GIT and start Docker Installation process again, then it should work fine. |
Thank you. It is good to delete git and install the docker first. |
If this is a prerequisite for a docker toolbox install, the docker toolbox installer should do it. Don't require users to install the tool, google the issue, uninstall the tool, uninstall a different tool, and reinstall the tool. Please re-open this issue until the installer addresses this flow. |
Because i have previously installed git on C:\Program Files (x86)\Git\ I had to point the shortcut to C:\Program Files (x86)\Git\bin\bash.exe and it worked. So the target in shotcut properties worked as "C:\Program Files\Git\bin\bash.exe" --login -i "D:\Program Files\Docker Toolbox\start.sh" |
I saw the installer remove Git then install Git for Windows, but alas I still experienced this issue when first trying to open Docker Quickstart Terminal. |
+1 |
Different Git packages use different installation paths, which, in their turn may also be redefined by the user. Moreover, even if Git is installed there is no guarantee that the Bash component is also present. So there is little sense to depend on Git bash or to consider it to be at any specific location. Resolves: docker-archive#343, docker-archive#335, docker-archive#640, docker-archive#466, docker-archive#687, docker-archive#636. Signed-off-by: Maxim Plevako <mplevako@gmail.com>
Error creating machine: Error in driver during machine creation: This computer d |
Oh it is 2020 and the issue is still here !!! |
@icnocop you da man! |
It is still an issue for me |
There are half a dozen people here reporting this is still an issue. You might want to re-open it. Since this is an issue in the installer, people that are trying out Docker are turned away right at their first try. |
Description of problem:
When you install the "DockerToolbox" for Windows and run "Docker Quickstart Terminal" shortcut, an error occurs.
Set the "Docker Quickstart Terminal" shortcut icon "docker toolbox" for Windows are as follows.
"C:\Program Files\Git\bin\bash.exe" --login -i "C:\Program Files\Docker Toolbox\start.sh"
This content was created by "Toolbox.iss", as follows:
Name: "{commondesktop}\Docker Quickstart Terminal"; WorkingDir: "{app}"; Filename: "{pf64}\Git\bin\bash.exe"; Parameters: "--login -i ""{app}\start.sh"""; IconFilename: "{app}/docker-quickstart-terminal.ico"; Tasks: desktopicon; Components: "Docker"
It is used in the "Filename" is to specify the bash.exe that exist in the path of git is installed.
This "Filename" value of the script is specified as "{pf64}\Git\bin\bash.exe".
Git the installation may be installed in a different path, like "%localappdata%\Programs\Git".
So the registry "HKLM{64|32}\Software\GitForWindows" or "HKCU{64|32}\SOFTWARE\GitForWindows" of "InstallPath" seems to confirm the more it would be fun to set the execution path of bash.exe.
docker version
:Client:
Version: 1.9.1
API version: 1.21
Go version: go1.4.3
Git commit: a34a1d5
Built: Fri Nov 20 17:56:04 UTC 2015
OS/Arch: windows/amd64
Server:
Version: 1.9.1
API version: 1.21
Go version: go1.4.3
Git commit: a34a1d5
Built: Fri Nov 20 17:56:04 UTC 2015
OS/Arch: linux/amd64
docker info
:Containers: 0
Images: 0
Server Version: 1.9.1
Storage Driver: aufs
Root Dir: /mnt/sda1/var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 0
Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.1.13-boot2docker
Operating System: Boot2Docker 1.9.1 (TCL 6.4.1); master : cef800b - Fri Nov 20 19:33:59 UTC 2015
CPUs: 1
Total Memory: 996.2 MiB
Name: default
ID: FU6B:RMRB:4BB6:OW4X:YOI6:YB6W:6X2L:X3MH:A7UO:UTPX:4O7S:COGD
Debug mode (server): true
File Descriptors: 11
Goroutines: 18
System Time: 2015-12-04T05:43:35.843404146Z
EventsListeners: 0
Init SHA1:
Init Path: /usr/local/bin/docker
Docker Root Dir: /mnt/sda1/var/lib/docker
Labels:
provider=virtualbox
uname -a
:MINGW64_NT-10.0 DESKTOP-6DD6KQ7 2.3.0(0.290/5/3) 2015-09-29 10:48 x86_64 Msys
Environment details (AWS, VirtualBox, physical, etc.):
Windows 10, DockerToolbox-1.9.1a.exe
How reproducible:
Steps to Reproduce:
Actual Results:
an error window will appear that it can not find the bash.exe.
Expected Results:
Docker appears terminals.
Additional info:
The text was updated successfully, but these errors were encountered: