Docker learning of Docker Hatsu识

First, what is the Docker

Docker is an open source application container engine, based on  the Go language  and protocol compliance Apache2.0 open source.

Docker allows developers to package their applications and dependencies to a lightweight, portable container and then posted to any popular Linux machine, can be virtualized.

The container is full use of the sandbox mechanism will not have any interface between each other (similar to the iPhone app), more important is the performance overhead is very low container.

Docker divided after 17.03 version from CE (Community Edition: Community Edition) and EE (Enterprise Edition: Enterprise Edition)

Two, Docker what use

  • Automation package and publish Web applications.

  • Automated testing and continuous integration, release.

  • Deployment and tuning the database or other back-office applications in a service-oriented environment.

  • Recompile or extend an existing OpenShift or Cloud Foundry PaaS platform to build their own environment

Three, Docker advantages

  • 1, a simplified procedure:
    Docker allows developers to package their applications as well as a portable container to the dependencies, and then posted to any popular Linux machine, you can virtualize. Docker changed the way virtualization, enabling developers to put their results directly to the Docker for management. Convenient Docker already is the biggest advantage of, used to take days or even weeks with the task in handling Docker containers, only take seconds to complete.

  • 2, avoid selecting phobia:
    If you have a choice phobia, or experienced patients. Then you can use your Docker packed tangle! For example Docker mirror; Docker mirror configuration and includes the operating environment, it is possible to simplify the deployment of multiple applications Docker working examples. Such as Web applications, back-end applications, database applications, large data applications such as Hadoop cluster, message queues, etc., can be packaged into a single image deployment.

  • 3, save money:
    on the one hand, the cloud computing era, so that developers do not have effect in order to pursue high configuration hardware, Docker change the inevitable high price-performance mindset. Docker combined with cloud to cloud space to be more fully utilized. Not only solved the problem of hardware management, but also changed the way of virtualization.

Four, Docker's shortcomings

  • Security is low, rarely used for remote management
  • Not as good as virtual machine resource isolation
  • Docker support Unix / Linux operating system, does not support Windows or Mac (even though you can install on it, but also Linux-based virtual machine) when the application is most useful for                                                 
  • When Docker for applications is the most useful, but does not contain data. Logging, tracking and database docker generally should be placed outside the container.

Guess you like

Origin www.cnblogs.com/xietianjiao/p/11271085.html