Docker on Conemu

bashcmderconemudocker

I am trying to make docker run on ConEmu by creating a task that open up Docker start.sh file usinggit bash.

Since normally docker Terminal is pointing to "C:\Program Files\Git\bin\bash.exe" --login -i "C:\Program Files\Docker Toolbox\start.sh" ,is there any way I can make a task on ConEmu to do this? So something like this:

enter image description here

Best Answer

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.

Related Question