About Docker

  docker, question

I watched the video about Docker at Geek College once:http://www.jikexueyuan.com/course/docker/

There are three versions of the video. The video is characterized by directly telling how to use this thing at first. Occasionally, some places will tell a little about what this thing is at the beginning, but the concept of correlation is generally not explained very much.

On a basic basis, there may not be any problem. Many people can also eliminate their blind spots by talking about different versions. However, if there is no concept at all, there will be some doubts and confusion after listening. Please help explain:

1. It is said in the video that Docker Machine, Docker Composition and Docker Swarm are both container management tools, so which one should be used? Or do they have different management functions?
2. Kubernetes is also a container management tool, so what are its characteristics compared with the above three? Who should I use?
3. What are the respective meanings of CaaS, PaaS and laaS?
4. What other Docker tutorials, blogs and videos are recommended?

Compose is used to organize and orchestrate a set of Docker containers. For example, you have already built several Docker images, including HAProxy, Nginx, MySQL, PHP. However, these are scattered pieces of sand. You can only run these containers one by one and manually ensure the coordination of various container parameters, such as the correspondence of TCP ports. With Compose, the configuration of the entire cluster can be recorded in files, whether in development, testing or production environment, directlydocker-compose upYou can build the same cluster.

Swarm can make Docker cluster transparent, making the cluster look like a virtual whole. Swarm uses the standard Docker API interface, and all forms of Docker clients can communicate directly with Swarm, which looks like a single container to Docker clients.

Machine has nothing to say, just a Bash script to install Docker at one click, which is convenient to build Docker environment on different operating systems.

I suggest you read itDocker-Container and Container Cloud.