Using Windows Subsystem for Linux combined with Docker for Windows
Docker CE for Windows
- Install Docker CE for Windows
- Go to Docker for Windows Settings -> General and enable
Expose daemon on tcp://localhost:2375 without TLS.
This will enable the Docker remote API for requests, coming from localhost, not from another computer in your network. A TLS secured version is not yet supported in Docker for Windows. See docker/for-win#453 for more information. I also tried a daemon.json file with options tlscacert, tlscert, tlskey and tlsverify, but Docker for Windows crashed on booting.
Install Windows Subsystem for Linux (WSL)
- Enable Developer Mode as described in Enable your device for development
- Install WSL by running the following in Powershell as Administrator: `E