Docker Quickstart Terminal @ Hyper-V Guide

This is the result. Inner window is running Hyper-V VM, and outer one is Docker Quickstart Terminal.

We can easily get Hyper-V VM with Boot2Docker image. But there’re some advantages to use Docker Quickstart Terminal instead of just VM. For example DQT supports easy way to build natively and run with VM. I personally like this feature. So I spent my whole afternoon to run DQT with Hyper-V and finally got how to do it.

  1. Overwrite C:\Program Files\Docker Toolbox\start.sh with this script.
  2. Right-click the ‘Docker Quickstart Terminal’ and then click Properties.
  3. Click the Compatibility tab, and check select the ‘Run This Program As An Administrator’ check box. (Because it needs administrator rights to manipulate Hyper-V settings)
  4. Click OK.

It’s not good way because it requires administrator rights. I did all I can to eliminate this. But there’s no way to do this easily.