官术网_书友最值得收藏!

Docker versus Virtual Machine (VM)

Looking at the description of Docker so far, we might wonder if it is yet another Virtual Machine. However, this is not the case, because a VM requires us to run a complete guest OS on top of our machine, or hypervisor, as well as all the required binaries. In the case of Docker, we use OS level virtualization, which allows us to run our containers in isolated user spaces.

The biggest advantage of a VM is that we can run different types of OSes on a system, for example, Windows, FreeBSD, and Linux. However, in the case of Docker, we can run any flavor of Linux, and the only limitation is that it has to be Linux:

Docker container versus VM

The biggest advantage of Docker containers is that since it runs natively on Linux as a discrete process making it lightweight and unaware of all the capabilities of the host OS.

主站蜘蛛池模板: 响水县| 都安| 曲沃县| 河北区| 洛隆县| 孟村| 余江县| 新营市| 巩义市| 洛隆县| 班戈县| 池州市| 宣汉县| 城口县| 临高县| 甘孜县| 湖北省| 镇雄县| 广南县| 荆州市| 扎赉特旗| 蛟河市| 永年县| 大庆市| 泰宁县| 静安区| 阿合奇县| 淮北市| 许昌县| 光山县| 曲周县| 北海市| 龙胜| 沁阳市| 灵石县| 罗田县| 永和县| 肇庆市| 胶州市| 怀宁县| 巴东县|