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

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.

主站蜘蛛池模板: 长兴县| 甘洛县| 尖扎县| 马尔康县| 祁东县| 普兰店市| 孟连| 肥东县| 大新县| 新河县| 东阳市| 临朐县| 北海市| 柏乡县| 泾阳县| 房产| 武鸣县| 定兴县| 施甸县| 普兰县| 阿合奇县| 兴国县| 石棉县| 广饶县| 长汀县| 乌拉特后旗| 云梦县| 广水市| 哈尔滨市| 玉山县| 东港市| 嘉祥县| 轮台县| 桂平市| 平湖市| 澳门| 项城市| 礼泉县| 哈尔滨市| 凉城县| 梁河县|