Using Docker
The most used excuse developers use when someone complains the system doesn’t work as expected is “But it works on my machine!” Of course, the only suitable response is, “We do not ship your machine; we ship software.”
Docker aims to be a solution to that problem.
Docker is a highly complex topic. If you’re unaware of what it can do, please skip this part of this chapter until you’re more familiar with it. In short, Docker can act like a complete virtual machine. This principle means you can develop on that virtual machine, test on that virtual machine, and then deploy that virtual machine. In other words, if it works on that machine, it will work everywhere. The reason it will work everywhere is that with Docker, we ship your machine. Well, the virtual one, at least.
Visual Studio has completely embraced Docker. The IDE comes packed with handy add-ons and wizards to help you use Docker.