Windows support for docker
Unconsciously, I have been using Docker for almost 5 years, and the use of Docker in these 5 years has completely changed my development habits, and now I am completely accustomed to developing on Windows.
Windows for docker integration, so that software development and deployment will not be due to the Windows environment and problems, a lot of windows on the software is not supported, can also be installed through the docker container, if there is anyone still telling you that the development of software on Windows is not reliable, then he must be the last century of people.
Not only is there support for docker, the advent of wsl2 has made Windows more and more developer-friendly. Especially with the advent of the demo plugin in VSCODE, you can now develop Linux applications on Windows, all of which in the past was only possible through ssh remote Linux servers.
Whether you admit it or not, there is a big gap between Linux and Windows and Mac, and now you have a choice, that is, to choose a Linux server environment and use the Windows desktop environment, and now there is a perfect fit between the two.
Environment building is no longer a headache
I still remember when I first learned PHP, an environment was built for a week, and in the end it was not built into a perfect environment. Now it's different, with docker, we can set up a PHP environment in a few minutes, and we can build multiple different versions of the PHP environment in the sub-score, everything is very convenient.
It used to take a day to set up a cluster for testing, but now with docker, with docker-compose, we can set up the cluster environment in a matter of minutes.
In the past, when doing development, it was difficult for us to keep the production environment and the development environment synchronized, so many bugs we could only go to the production environment to fix, which was a very dangerous operation. Now with docker, our environment can be almost exactly the same as the production environment.
Test the sandbox
Before, when we learned and used a new software, we were afraid of destroying the development environment and causing us to reinstall the system, but now with docker, we are no longer afraid of destroying our environment. A container environment is broken, and we can create a new container in minutes. With docker, we have an environment that we can destroy at will, and we can make bold operations on this environment.
The previous development has a set of environment, production has a set of environment, testing and a set of environments, there are always slight differences between each other, and it is these differences, often produce a lot of bugs, and reproduce these bugs, often take a lot of time for developers, and with docker, the environment of the three has become unified, even if the tester damages the test environment, we can also re-build the test environment in a few minutes, which is a great thing for the tester, They no longer have to worry about their actions causing the entire test environment to be no longer available.
summary
Docker single-handedly changed our entire business logic from development to testing to going live.
At first you may think that using docker is tedious and learning docker commands is boring, but once you are familiar with docker, you will find that docker is really good to use, and you will unconsciously fall in love with it.
If docker disappears from your world one day, you're bound to become anxious and panicked, because it has become an integral part of your development process.