PS:之前硬盘虚拟化是根据物理资源虚拟成不同的虚拟机,是在服务器级别的,而docker是再次虚拟化,是在软件级别虚拟化,比如mysql,tomcat等软件再次虚拟,把这些虚拟化的软件也叫做容器放在docker上运行就可以了。
图片来自:https://www.bilibili.com/video/BV1b4411q7DX?p=1