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

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.

主站蜘蛛池模板: 双柏县| 饶平县| 苍南县| 卫辉市| 巧家县| 嘉义县| 呼伦贝尔市| 启东市| 彭水| 沙湾县| 扶风县| 青川县| 札达县| 昭通市| 磐安县| 西丰县| 峨山| 会宁县| 调兵山市| 临泽县| 衢州市| 吉首市| 民和| 四川省| 信丰县| 波密县| 中阳县| 紫阳县| 潜山县| 新安县| 龙陵县| 礼泉县| 广西| 兰溪市| 安徽省| 邵武市| 大新县| 白银市| 广汉市| 高要市| 桃江县|