79640486

Date: 2025-05-27 12:36:00
Score: 1.5
Natty:
Report link

I am using Git Bash on Windows 10. This is the same method suggested by @friism and @Samuel Matos, but uses a bash function instead of an alias.

In my .bash_aliases file I have defined the following function that simply calls the .exe file.

 function docker-start { /c/Program\ Files/Docker/Docker/Docker\ Desktop; } 

The thing to watch out for is the windows file paths.

This works in a non-privileged shell.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @friism
  • User mentioned (0): @Samuel
  • Low reputation (1):
Posted by: Kevin Boyle