1
00:00:02,330 --> 00:00:05,760
<v ->So these are the core Docker and container concepts.</v>

2
00:00:05,760 --> 00:00:08,010
And now we got two main areas

3
00:00:08,010 --> 00:00:09,820
where we can use these concepts,

4
00:00:09,820 --> 00:00:13,040
locally on our local machine for development

5
00:00:13,040 --> 00:00:15,210
and for having reproducible

6
00:00:15,210 --> 00:00:17,900
and isolated development environments

7
00:00:17,900 --> 00:00:20,570
and on remote hosts, remote machines,

8
00:00:20,570 --> 00:00:24,000
so when we wanna deploy an application with Docker.

9
00:00:24,000 --> 00:00:27,450
Now on our local host, so on our local system

10
00:00:27,450 --> 00:00:31,190
Docker is amazing because we have isolated, encapsulated,

11
00:00:31,190 --> 00:00:33,930
reproducible development environments

12
00:00:33,930 --> 00:00:36,970
which won't clash with any other environments

13
00:00:36,970 --> 00:00:38,670
we might have on our system

14
00:00:38,670 --> 00:00:41,490
where we don't have any cross dependencies

15
00:00:41,490 --> 00:00:44,630
and where therefore development on our local machine

16
00:00:44,630 --> 00:00:47,640
becomes very convenient and easy to manage.

17
00:00:47,640 --> 00:00:52,270
Hence even if you never deploy, your Dockerized applications

18
00:00:52,270 --> 00:00:54,630
Docker is still an amazing tool.

19
00:00:54,630 --> 00:00:56,710
And there are many developers out there

20
00:00:56,710 --> 00:00:59,860
which only use Docker locally on their system

21
00:00:59,860 --> 00:01:02,510
to have these isolated projects

22
00:01:02,510 --> 00:01:05,460
and avoid clashes between versions and run times

23
00:01:05,460 --> 00:01:08,010
when they are working on multiple projects.

24
00:01:08,010 --> 00:01:09,960
So Docker is not just there

25
00:01:09,960 --> 00:01:13,420
for deploying containers onto a remote machine

26
00:01:13,420 --> 00:01:16,070
and exposing your app to real users.

27
00:01:16,070 --> 00:01:18,340
It's perfectly fine to use Docker

28
00:01:18,340 --> 00:01:20,610
just locally on your system

29
00:01:20,610 --> 00:01:23,340
because it offers many advantages there.

30
00:01:23,340 --> 00:01:26,400
But of course, we can also deploy our containers

31
00:01:26,400 --> 00:01:29,400
onto remote machines, onto remote hosts

32
00:01:29,400 --> 00:01:32,760
basically for the same reasons why it's awesome locally.

33
00:01:32,760 --> 00:01:34,980
We have isolated, encapsulated

34
00:01:34,980 --> 00:01:38,930
and most importantly, reproducible environments.

35
00:01:38,930 --> 00:01:42,490
What worked locally will work on a remote machine as well.

36
00:01:42,490 --> 00:01:44,750
There are no unwanted surprises

37
00:01:44,750 --> 00:01:46,530
because it's all in the container

38
00:01:46,530 --> 00:01:49,460
and all in the image for that container.

39
00:01:49,460 --> 00:01:51,210
Updating is also simple

40
00:01:51,210 --> 00:01:54,440
because we just need to replace an existing container

41
00:01:54,440 --> 00:01:55,910
with the updated one

42
00:01:55,910 --> 00:01:59,030
which for example, contains the updated source code.

43
00:01:59,030 --> 00:02:02,630
So we just replaced the existing container and we're good.

44
00:02:02,630 --> 00:02:05,210
There is no complex updating process involved.

45
00:02:05,210 --> 00:02:06,940
That's all we gotta do.

46
00:02:06,940 --> 00:02:09,250
So Docker really is amazing for both.

47
00:02:09,250 --> 00:02:12,110
And it's up to you whether you wanna use it for both

48
00:02:12,110 --> 00:02:15,650
or maybe whether it's enough for you to work with it locally

49
00:02:15,650 --> 00:02:18,840
because you don't deploy applications in general maybe,

50
00:02:18,840 --> 00:02:21,330
because you've just got a bunch of side projects

51
00:02:21,330 --> 00:02:24,660
or maybe because also deploying Docker containers

52
00:02:24,660 --> 00:02:26,590
is a bit too much overhead

53
00:02:26,590 --> 00:02:29,010
for the kind of application you're building.

54
00:02:29,010 --> 00:02:31,290
So these are the two main areas

55
00:02:31,290 --> 00:02:33,710
where you can use Docker and containers,

56
00:02:33,710 --> 00:02:36,663
and Docker and containers do shine in both of them.

