Docker on Conemu
In the task parameters:
/dir "C:\Program Files\Docker Toolbox"
Commands:
"%ConEmuDrive%\Program Files (x86)\Git\bin\sh.exe" --login -i -new_console:C:"C:\Program Files\Docker Toolbox\docker-quickstart-terminal.ico" "C:\Program Files\Docker Toolbox\start.sh"
Please note that I have git in Program Files (x86)
, and also that the -new_console
parameter that references the ico is not needed. I assume you have that ico, but you can remove the whole parameter if it proves problematic, but you will be left with the Git bash icon.
The posted answer didn't work for me (using Docker Toolbox 1.10.3). I chose to install Docker Bash shell during install (basically everything the installer offers).
Here's what worked for me (note the use of bash.exe
):
task parameters:
/dir "C:\Program Files\Docker Toolbox"
Command:
"C:\Program Files\Git\bin\bash.exe" --login -i -new_console:C:"C:\Program Files\Docker Toolbox\docker-quickstart-terminal.ico" "C:\Program Files\Docker Toolbox\start.sh"
Install docker before installing conEmu that is configured automatic.
Task Parameters:
/dir "%DOCKER_TOOLBOX_INSTALL_PATH%" /icon "%DOCKER_TOOLBOX_INSTALL_PATH%\docker.exe"
Start console:
"%DOCKER_TOOLBOX_INSTALL_PATH%\..\Git\usr\bin\bash.exe"-l -i "%DOCKER_TOOLBOX_INSTALL_PATH%\start.sh" -new_console:t:"Docker"