- Windows Server 2016 is now released with builtin Docker CS (commercially supported). For free!
- "windowsservercore" based containers is now supported on Windows 10 besides "nanoserver". Full .NET Framework support!
- "Docker for Windows" in the beta channel now supports switching between Linux and Windows containers.
- Docker Compose is starting to become usable with Windows containers also.
There are some issue though:
- Windows NAT and Docker is not working as with Linux container ie. you can't publish ports from containers to localhost. So from your host you need to access the containers on the container IP instead of for example localhost:8000. You can access publish ports externally with the IP of the host though. More details here https://blog.sixeyed.com/published-ports-on-windows-containers-dont-do-loopback/ - I expect this to be "fixed" in future Windows version or for local development in "Docker for Windows".
- Mixing Linux and Windows containers is not supported in Compose (yet?), so it is not possible to have both Linux and Windows containers in the same compose file communicating.
But still, we are now at a place where Sitecore and Docker can be used to easily and fast get a solution up and running, with data persistence through mapped volumes and also executing code inside the containers during development! All running natively on Windows :)
You can see a complete end to end example of how to setup a Sitecore solution here: https://github.com/pbering/Socker/
Article was originally posted on Invoke Command Blog: Sitecore and Docker