Docker learning - from ignorance to knowledge of the learning process

Docker learning

最近被别人提到的docker吸引到了注意力,所以打算先快速的了解一下docker到底是个上面东西。
之所以我写下这个文档呢,是为了记录对docker一无所知我是如何进行学习一门新技术的,一方面是为了记录自己的学习过程,另外一方面,希望能够有同样的新手,但是不知道怎么入门的人基于一定的帮助。
不是说我的方法有多好,是我自己让自己找到属于自己的一套学习方法。
首先呢,我去查阅了官网,https://www.docker.com/
直接去看官网看的我有点蒙,我觉得我还是先找一个教学视频,
我看的是尚硅谷的周阳老师的视频:
https://www.bilibili.com/video/av27122140?from=search&seid=1600067007728942244

官网Ref Doc:https://docs.docker.com/
这也是我第一次尝试使用Markdown语法来练习写笔记,(#^.^#)

Well, then began to enter the topic:

Description: container, virtualization technology: cloud computing, cloud platform, developed in the cloud, Ali cloud, javaee compile server deployment and so on and so will involve, Java programmers need to look at.

Official website: https://www.docker.com/

Prerequisite knowledge:

  • Forced familiar with Linux commands and background knowledge such as: ps, top
  • Recommendations, Maven, Git-related knowledge
Duration: 1.5 days - Basics

Based on the Java language point of view: Basics, the degree of fineness reach the breadth and depth of professional R & D engineers docker


What Docker that?

Why docker appears

A product from development to on-line, from operating system to operating environment, and then to apply the configuration.
As a developer + writing between the operation and maintenance we need to care about a lot of things, which is a lot of Internet companies have had to face the problem, especially after versions of the iteration, version compatible barrier environment for operation and maintenance personnel are graduate school.

Docker reason why growing so rapidly, it is because this gives a standardized solution.

Environment configuration so troublesome, replace the machine, we must do it all over, time-consuming. A lot of people think, can not solve the problem fundamentally. == software can be installed with the environment? In other words, when installed, identical to the original environment copied, developers can eliminate the use of Docker time collaboration coding problem "on my machine normal work". ==

Own understanding: Developer just before completion of the development of codes submitted to the deployment of personnel, now Docker by the development environment, configure the environment, the deployment viewing, running dependencies, code, etc. together packaged into a mirror . Top-down package, to achieve seamless integration between the operation of cross-platform applications.

Docker idea:

Docker's main objective is: "Build, Ship and Run Any APP, Anywhere". That is the life cycle management of application components through packaging, distribution, deployment, operation, so that the user's operating environment APP and be able to do once the package, run anywhere

Emergence of Linux container technology to solve such a problem, and Docker is the development from its foundation on up, the application will run in Docker container above, and Docker containers are again on the operating system has been any, which is to achieve a cross-platform, cross-server. Only once to configure the environment, you can change to a key deployed, greatly simplifying the operation on the other machine.

Briefly summarize in one sentence:

解决了运行环境和配置问题软件容器,方便做持续集成并有助于整体发布的容器虚拟化技术。

++ thrown here ahead of three concepts: the three elements of Docker's
warehouse, mirror and container concept ++

Docker can you do?

虚拟机的概念需要提前知道。
Virtual machines disadvantages:
  1. Resource consumption and more
  2. Redundant multi-step
  3. Slow start
Comparison of different Docker and the conventional virtualization technology (container virtualization technology):
  • After the traditional virtual machine technology is a set of virtual hardware, run a full operating system on it, and then run on the system required for the application process.
  • The application process running in the container directly to the host kernel, the container does not own kernel, and there's no hardware virtualization , container and therefore more portable than traditional virtual machine.
  • Isolated from each other between each container, each container has its own file system, the process between the container will not affect each other, we can distinguish between computing resources.
  • Thoroughly address the deficiencies of the virtual machine.

Docker is actually a scaled-down version, condensed version, boutique version of the Linux system.

Development / operation and maintenance (DevOps philosophy): a build, run anywhere. Other advantages
  • More rapid adoption and deployment
  • More convenient scaling and upgrading capacity
  • Simpler system operation and maintenance
  • More efficient use of computing resources
这里又自己搜集了一下关于devops的介绍
https://baike.baidu.com/item/devops/2613029?fr=aladdin

In some companies with Docker technology:
Sina, the US group, mushrooms Street

Docker where to download?

Docker installation

premise
  • centOS 6.5 (64-bit) or higher
  • Kernel version is 3.10 or more

Check your kernel version, commands:

uname -r

Guess you like

Origin www.cnblogs.com/bigbaby/p/12041637.html