1
00:00:04,160 --> 00:00:09,950
All right, let's start discussion about differences of virtual machines and Docker containers from

2
00:00:09,980 --> 00:00:12,800
talking about architecture of virtual machine.

3
00:00:12,800 --> 00:00:18,590
And let me first explain you this diagram, and afterwards I'll show you how I personally use virtual

4
00:00:18,590 --> 00:00:19,250
machines.

5
00:00:19,280 --> 00:00:20,090
All right.

6
00:00:20,090 --> 00:00:27,470
So if you want to create a virtual machine, you should have either physical server or virtual server.

7
00:00:27,470 --> 00:00:32,930
It is basically possible to create virtual machines inside of other virtual machines.

8
00:00:33,080 --> 00:00:39,970
And there is host operating system host operating systems could be different, for example, either

9
00:00:39,980 --> 00:00:44,270
macOS, Windows or Linux, any operating system afterwards.

10
00:00:44,270 --> 00:00:51,020
On top of this host operating system, you should install so-called hypervisor.

11
00:00:51,140 --> 00:00:55,490
Examples of such hypervisors are following VirtualBox.

12
00:00:55,490 --> 00:01:05,010
It is free and open source VMware Fusion, for example, that is used on Mac OS or VMware ESXi and VMware

13
00:01:05,010 --> 00:01:08,430
ESXi is basically installed directly on the computer.

14
00:01:08,430 --> 00:01:12,150
It doesn't require any other host operating system.

15
00:01:12,150 --> 00:01:19,530
It means that there could be scenarios when hypervisor is running directly on physical server or other

16
00:01:19,530 --> 00:01:20,670
virtual server.

17
00:01:20,700 --> 00:01:21,420
All right.

18
00:01:21,450 --> 00:01:25,170
On top of hypervisor, you are able to create virtual machines.

19
00:01:25,170 --> 00:01:33,960
And notice that main key idea here is that every virtual machine has its own guest operating system.

20
00:01:34,350 --> 00:01:40,410
And that means that you are able to create different virtual machines with different guest operating

21
00:01:40,410 --> 00:01:45,840
systems on another physical computer that is running different operating system.

22
00:01:45,840 --> 00:01:53,310
For example, host Operating system could be Windows guest here could be Linux, guest OS here, could

23
00:01:53,310 --> 00:01:54,240
be macOS.

24
00:01:54,990 --> 00:02:03,000
And every virtual machine has of course its own set of binary files, executables, own file system,

25
00:02:03,000 --> 00:02:08,910
actually dedicated resources like CPU memory, hard disk and so on.

26
00:02:08,910 --> 00:02:16,380
And of course inside of every virtual machine you are able to run applications and every application

27
00:02:16,380 --> 00:02:23,730
inside of every virtual machine will be, of course isolated from applications in other virtual machines.

28
00:02:23,760 --> 00:02:28,680
We could say that every virtual machine is separate world, separate entity.

29
00:02:29,340 --> 00:02:36,360
And that means that if you want to get complete separation of computers, virtual computers, you could

30
00:02:36,390 --> 00:02:40,080
of course use virtual machines and you should use virtual machines.

31
00:02:40,470 --> 00:02:41,190
All right.

32
00:02:41,190 --> 00:02:44,850
Let me now demonstrate you how I personally use virtual machines.

33
00:02:44,850 --> 00:02:49,260
Basically, this computer that you see right now, it is macOS computer.

34
00:02:49,260 --> 00:02:51,450
It is actually virtual machine.

35
00:02:51,450 --> 00:02:56,790
And this virtual machine is running using VMware fusion hypervisor.

36
00:02:57,180 --> 00:02:59,100
Also on this computer.

37
00:02:59,100 --> 00:03:03,540
Basically my main computer is macOS Computer with 16GB of Ram.

38
00:03:03,570 --> 00:03:07,440
I also run other virtual machines on the same computer.

39
00:03:07,440 --> 00:03:14,940
And here, for example, you may see Ubuntu virtual machine here you could see Windows Virtual Machine.

40
00:03:14,940 --> 00:03:21,930
And again, all those three virtual machines are currently running on single physical macOS computer.

41
00:03:21,960 --> 00:03:29,430
Let me quickly demonstrate you how actually this looks like in terms of VMware Fusion and how actually

42
00:03:29,430 --> 00:03:33,570
resources are splitted across different virtual machines.

43
00:03:33,570 --> 00:03:35,730
But let me do that after the small pause.

44
00:03:35,760 --> 00:03:36,480
See you next.

45
00:03:36,480 --> 00:03:37,110
Bye bye.

