docker
Docker is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly. With Docker, you can manage your infrastructure in the same ways you manage your applications. By taking advantage of Docker’s methodologies for shipping, testing, and deploying code quickly, you can significantly reduce the delay between writing code and running it in production.
docker 是一个加速应用开发、分发、部署的平台,使用沙盒机制,可移植性很好、占用计算机资源小。具体而言,docker 提供了打包应用运行所需的环境到一个镜像里的能力,并提供一系列应用的生命周期管理工具。用户基于这个镜像可以在同一台机器上同时运行多个实例,使用同一个镜像的应用所获取的执行环境是一致的。这使得我们的应用易于分发,快速验证。
基本概念
镜像 Image:镜像包含了创建一个容器的命令等东西,它是只读的
容器 Container:镜像运行起来后称为容器,我们可以基于当前容器的运行状态创建新的镜像
可以理解成类和实例,可执行文件和进程的关系
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)