If you want to develop and deploy applications quickly and continuously, you are no stranger to the word Docker. I studied it for a while in 2015, but stopped following it due to a change in work content.
Since this year, the project has been upgraded and launched every week. Although I have written a lot of automatic scripts, I still feel very troublesome, so I wonder if I can optimize this process through Docker.
I have read two books recently: Introduction and Actual Combat of Docker technology and Docker Advanced and Actual Combat, as well as verification in the test environment. I also have some experience, so I summarize it here and share it with you.
In the future, we plan to transfer all online environments to Docker, and we will summarize while practicing, which will be recorded here.
Docker is an open source project that began life in early 2013 as a side project within dotCloud. It is based on Google’s Go language implementation. The project later joined the Linux Foundation, followed the Apache 2.0 protocol, and was maintained on GitHub.
Docker’s slogan is:
Build,Ship,and Run Any App,Anywhere
Therefore, we can also see that using Docker will make development and deployment more convenient. Basically mirror in hand, can run anywhere, no longer have to worry about the environment.
Docker involves several concepts: image, container, warehouse, container volume, Dockerfile and so on. If you have encountered these concepts before, you will be familiar with them. It doesn’t matter if you haven’t. I will introduce them one by one in the following articles.
Here’s a look at how Docker differs from traditional virtualization:
Visible containers are virtualized at the operating system level and reuse the local host operating system directly, as opposed to the traditional hardware level.
Docker installation is also very simple, go directly to the Docker official website, whether it is Mac, Windows or Linux, or there is an installation package, or there is a detailed tutorial, step by step there is no problem.
In fact, no amount of blogs on the Internet, including this one, are as good as official documents, which are real-time and authoritative.
So that’s it for this one, and then mirror images for the next one.
Reference Documents:
docs.docker.com/
Tech Blog:
Github.com/yongxinz/te…
Meanwhile, welcome to follow my wechat official account AlwaysBeta, more exciting content waiting for you.