Docker enables developers and IT admins to build, ship and run any application, anywhere。
Stop wasting hours setting up developer environments, spinning up new instances, and making copies of production code to run locally. With Docker, you simply take copies of your live environment and run them on any new endpoint running a Docker engine.
The isolation capabilities of Docker containers free developers from constraints: they can use the best language and tools for their application services without worrying about causing internal tooling conflicts.
Packaging an application in a container with its configs and dependencies guarantees that the application will always work as designed in any environment: locally, on another machine, in test or production. No more worries about having to install the same configurations into different environments.
一言以蔽之：Build once，Run anywhere，Configure once，Run anything
build：Docker allows you to compose your application from microservices, without worry about inconsistencies between development and production environments , and without locking into any platform or language.
ship：Docker lets you design the entire cycle of application development,testing and distribution ,and mange it with a consistent user interface.
run：Docker offers you the ability to deploy scalable services, securely and relably, on a wide variety of platforms.
6、Docker 和 虚拟机的对比：
Virtual machines include the application, the necessary binaries and libraries, and an entire guest operating system -- all of which can amount to tens of GBs.
Containers include the application and all of its dependencies --but share the kernel with other containers, running as isolated processes in user space on the host operating system. Docker containers are not tied to any specific infrastructure: they run on any computer, on any infrastructure, and in any cloud.