Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Let the user chose the installation folder #11876

Closed
1 task done
odupuy opened this issue Aug 11, 2021 · 3 comments
Closed
1 task done

Feature request: Let the user chose the installation folder #11876

odupuy opened this issue Aug 11, 2021 · 3 comments

Comments

@odupuy
Copy link

odupuy commented Aug 11, 2021

In 2021, not being able to chose the installation directory of a program should be something of the past.

I am (finally) upgrading to W10, switching Docker Toolbox for Docker Desktop 3.5.2.
I install it and it creates all sorts of problems in my scripts and makefiles.
The reason is the space in the name C:\Program(space)Files\Docker\Docker\resources\bin\docker.
This breaks a lot of things especially when your scripts must support Windows, Unix, Mac.

Why cannot we chose the install folder like in any other application?

  • Some corporate developer machines only allow installs to specific directories.
  • Spaces may be an issue
  • You may have a faster disc as D: vs the default C:
  • Your C: can be full

I am not the only one stuck here, many have the problem. (google search)
I am trying various tricks like the linked folder of this post with mklink /J "C:\Program Files\Docker" "c:\Programs\Docker" then I have to set the proper PATH order but I still have some other issues related to the location.

Please, keep the things simple for all the users, just let the user chose the installation folder that he needs.

And BTW why cannot we chose as well the other directories? (see post upper).

  • I have tried with the latest version of Docker Desktop
  • [N/A] I have tried disabling enabled experimental features
  • [N/A] I have uploaded Diagnostics

Actual behavior

The program installs in C:\Program Files\Docker. No choice!

Expected behavior

I want having the choice of the folder. Same disk or another disk.

Information

Please, help us understand the problem. For instance:

  • Is it reproducible? Yes

  • Is the problem new? Not sure

  • Did the problem appear with an update? No

  • Windows Version: W10

  • Docker Desktop Version: 3.5.2

  • WSL2 or Hyper-V backend? WSL2

  • Are you running inside a virtualized Windows e.g. on a cloud server or a VM: No

Steps to reproduce the behavior

There is simply no choice in the installer UI or on the CLI to select an installation folder.

@StefanScherer
Copy link
Member

Thanks for the feature request. Please vote up docker/roadmap#94, as you can see there is not really much demand for this and therefore it's unlikely we will implement that in the near future.
You can run docker without using the full path to it, because this folder is added the the PATH variable.
I'm going to close this ticket, please follow the roadmap ticket.

@odupuy
Copy link
Author

odupuy commented Aug 13, 2021

The issue is not about running docker without the PATH if the resources/bin folder is already in your path.
It is about the integration with tools, scripts which have to run on all of Mac, Unix, Windows.
Having a space in the path name is a problem in my case for a makefile.
I would have saved hours if the installation program was flexible.
But I will put my comments in 94.
Thanks

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked

@docker docker locked and limited conversation to collaborators Sep 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants