Docker Community Forums

Share and learn in the Docker community.

docker4windows .. program naming conflict


(Mario Pietsch) #1

Actual behavior

After install docker4windows I get:

PS > get-command docker

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Application     docker.exe                                         0.0.0.0    C:\Program Files (x86)\Docker\Docker\Resources\bin\docker.exe

It also creates a desktop icon, which starts Docker “whatever app”:

"C:\Program Files (x86)\Docker\Docker\Docker.exe"

Expected behavior

For me the second program is not docker. It acts like docker-machine with no options. I think, this program should have a different name.

Information

OS: Win 10

PS > docker --version
Docker version 1.10.3, build 20f81dd

PS > docker version
Client:
 Version:      1.10.3
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   20f81dd
 Built:        Thu Mar 10 21:49:11 2016
 OS/Arch:      windows/amd64

Server:
 Version:      1.10.3
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   20f81dd
 Built:        Thu Mar 10 21:49:11 2016
 OS/Arch:      linux/amd64

I manually installed docker at:

PS > & 'C:\Program Files (x86)\Docker\docker.exe' --version
Docker version 1.10.2, build c3959b1

PS > & 'C:\Program Files (x86)\Docker\docker.exe' version
Client:
 Version:      1.10.2
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   c3959b1
 Built:        Mon Feb 22 22:37:33 2016
 OS/Arch:      windows/amd64

Server:
 Version:      1.10.3
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   20f81dd
 Built:        Thu Mar 10 21:49:11 2016
 OS/Arch:      linux/amd64
Toolbar Icon Docker "whatever app" shows:
1.10.6.958 (beta) 9874eb0

(Michael Friis) #2

@pmario I’m not sure I understand - to try and re-state your concern, would you like clicking the desktop icon to start a shell or GUI that you can use to build and run containers, or to run something like the quickstart terminal in Toolbox?

We’re very aware that the post-install experience is a bit lacking and we’re working on ways to give new users a more fluid introduction to Docker after they install Docker for Windows.


(Mario Pietsch) #3

I think, I haven’t been clear. I do have a problem, that there are 2 different programs with the same name.

[1] C:\Program Files\Docker\Docker\docker.exe … size … 931 kByte
[2] C:\Program Files\Docker\Docker\resources\bin\docker.exe … size … 29 655 kByte

After installing Docker4Windows (beta6) you get an icon on the desktop, that starts the first program [1].
If you open the CLI and type docker it uses the second program [2].

This wouldn’t be a problem if docker4windows [1] would be GUI only program, since users basically don’t care, what’s executed in the background. … but …
At the moment we need the CLI and the “docker” command [2] there is different, to what the desktop icon [1] starts. … That’s my problem. … It’s inconsistent and imo wrong. (And as you can see, it makes referencing the different docker.exe’s difficult)

For me docker4windows [1] is just a manager program, that provisions a VM. It’s similar to docker-machine and imo it should be named that way.


If you install Docker for windows, it overwrites the existing windows path variables, without any warning, to activate docker CLI [1]. For me this behaviour is very aggressive. … but this may be a different issue.

-m


(Michael Friis) #4

I think I understand now - we’ve renamed the app launcher to “DockerForWindows.exe”, that should come out in the next beta.

Michael