To play with Docker on Windows, we have 2 options:
- Docker for Windows: Docker for Windows requires that you’re running Windows Pro, Enterprise, or Education edition.
- Docker Toolbox: if you have Windows 10 Home, this is only one option for you. Because Microsoft doesn’t currently allow Hyper-V to be installed on Home editions.
Option #1 is perfect one but there’re many issues when you go with option #2. And the most issue you could face is “Visual Studio Container Tools requires Docker to be running before building, debugging or running a containerized project”
To solve this, you should go following steps:
- Check if the Hardware Virtualization is Enabled.
- Install Docker Toolbox which is not legacy and works fine with Virtualbox.
- Run Visual Studio from inside Docker Quickstart Terminal. ( /c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/Community/Common7/IDE/devenv.exe C:\\PATH\\TO\\MY\\SOLUTION.sln)
Ref: