All right, let's start discussion about differences of virtual machines and Docker containers from
talking about architecture of virtual machine.
And let me first explain you this diagram, and afterwards I'll show you how I personally use virtual
machines.
All right.
So if you want to create a virtual machine, you should have either physical server or virtual server.
It is basically possible to create virtual machines inside of other virtual machines.
And there is host operating system host operating systems could be different, for example, either
macOS, Windows or Linux, any operating system afterwards.
On top of this host operating system, you should install so-called hypervisor.
Examples of such hypervisors are following VirtualBox.
It is free and open source VMware Fusion, for example, that is used on Mac OS or VMware ESXi and VMware
ESXi is basically installed directly on the computer.
It doesn't require any other host operating system.
It means that there could be scenarios when hypervisor is running directly on physical server or other
virtual server.
All right.
On top of hypervisor, you are able to create virtual machines.
And notice that main key idea here is that every virtual machine has its own guest operating system.
And that means that you are able to create different virtual machines with different guest operating
systems on another physical computer that is running different operating system.
For example, host Operating system could be Windows guest here could be Linux, guest OS here, could
be macOS.
And every virtual machine has of course its own set of binary files, executables, own file system,
actually dedicated resources like CPU memory, hard disk and so on.
And of course inside of every virtual machine you are able to run applications and every application
inside of every virtual machine will be, of course isolated from applications in other virtual machines.
We could say that every virtual machine is separate world, separate entity.
And that means that if you want to get complete separation of computers, virtual computers, you could
of course use virtual machines and you should use virtual machines.
All right.
Let me now demonstrate you how I personally use virtual machines.
Basically, this computer that you see right now, it is macOS computer.
It is actually virtual machine.
And this virtual machine is running using VMware fusion hypervisor.
Also on this computer.
Basically my main computer is macOS Computer with 16GB of Ram.
I also run other virtual machines on the same computer.
And here, for example, you may see Ubuntu virtual machine here you could see Windows Virtual Machine.
And again, all those three virtual machines are currently running on single physical macOS computer.
Let me quickly demonstrate you how actually this looks like in terms of VMware Fusion and how actually
resources are splitted across different virtual machines.
But let me do that after the small pause.
See you next.
Bye bye.