1
00:00:02,290 --> 00:00:03,270
Now in this lecture,

2
00:00:03,270 --> 00:00:04,103
we're going to

3
00:00:04,103 --> 00:00:05,870
install Docker for Mac OS.

4
00:00:05,870 --> 00:00:09,420
And therefore on this Get Started page

5
00:00:09,420 --> 00:00:11,350
on docker.com.

6
00:00:11,350 --> 00:00:12,910
Here, under Docker Desktop,

7
00:00:12,910 --> 00:00:15,400
we're going to download the version for Mac,

8
00:00:15,400 --> 00:00:17,740
it should automatically preselect the right one.

9
00:00:17,740 --> 00:00:18,573
If it didn't,

10
00:00:18,573 --> 00:00:20,190
you can simply switch to it.

11
00:00:20,190 --> 00:00:22,900
So click this and download this to some folder

12
00:00:22,900 --> 00:00:24,780
of your choice.

13
00:00:24,780 --> 00:00:26,740
This is just the installer basically.

14
00:00:26,740 --> 00:00:27,573
So it's really

15
00:00:27,573 --> 00:00:29,680
up to you where you wanna store it.

16
00:00:29,680 --> 00:00:32,340
And I will be back once this download finished

17
00:00:32,340 --> 00:00:34,350
to then show you the very, very,

18
00:00:34,350 --> 00:00:36,010
very complicated,

19
00:00:36,010 --> 00:00:37,090
not,

20
00:00:37,090 --> 00:00:38,710
Installation process.

21
00:00:38,710 --> 00:00:40,210
And to then also show you how

22
00:00:40,210 --> 00:00:42,000
to finish up the installation

23
00:00:42,000 --> 00:00:44,000
and what's important to keep in mind

24
00:00:44,000 --> 00:00:45,850
when it comes to working with Docker.

25
00:00:47,100 --> 00:00:48,860
So, download finished,

26
00:00:48,860 --> 00:00:50,590
now we can execute this file here

27
00:00:50,590 --> 00:00:51,490
on Mac OS

28
00:00:52,880 --> 00:00:55,873
and let it open the Docker DMG file.

29
00:00:58,050 --> 00:01:00,850
And now the installation really is just that you drag

30
00:01:00,850 --> 00:01:01,960
this Docker app,

31
00:01:01,960 --> 00:01:04,890
which for you might have a real Docker icon

32
00:01:04,890 --> 00:01:06,660
and not this placeholder,

33
00:01:06,660 --> 00:01:09,310
which for whatever reason I have here

34
00:01:09,310 --> 00:01:10,270
and drag that

35
00:01:10,270 --> 00:01:11,833
to the Applications folder.

36
00:01:13,320 --> 00:01:14,480
That really is all,

37
00:01:14,480 --> 00:01:16,605
this will now copy over Docker.

38
00:01:16,605 --> 00:01:17,820
And once this is done,

39
00:01:17,820 --> 00:01:19,290
you can close this

40
00:01:19,290 --> 00:01:22,090
and simply run Docker.

41
00:01:22,090 --> 00:01:24,580
You will now have this Docker app available

42
00:01:24,580 --> 00:01:27,250
as an application you can run.

43
00:01:27,250 --> 00:01:28,683
So I'm running it here.

44
00:01:29,670 --> 00:01:31,830
And you now see this whale here

45
00:01:31,830 --> 00:01:34,270
in the status bar on top.

46
00:01:34,270 --> 00:01:38,660
Now here, you can go to preferences,

47
00:01:38,660 --> 00:01:41,390
to bring up this graphical user interface here.

48
00:01:41,390 --> 00:01:43,180
And there, you can set up

49
00:01:43,180 --> 00:01:45,310
some general things, you can for example,

50
00:01:45,310 --> 00:01:47,890
control whether Docker Desktop should start

51
00:01:47,890 --> 00:01:50,130
when your Mac starts,

52
00:01:50,130 --> 00:01:52,230
you can set up automatic updating,

53
00:01:52,230 --> 00:01:54,610
and you can also configure other things.

54
00:01:54,610 --> 00:01:57,110
Some of these things or settings are

55
00:01:57,110 --> 00:01:58,690
topics I'll come back to later

56
00:01:58,690 --> 00:01:59,523
in the course.

57
00:01:59,523 --> 00:02:01,460
For example, file sharing.

58
00:02:01,460 --> 00:02:03,130
Generally you should be fine

59
00:02:03,130 --> 00:02:04,650
with all the defaults here.

60
00:02:04,650 --> 00:02:08,039
Only change things if you know what you're doing.

61
00:02:08,039 --> 00:02:09,970
Besides the start up thing here,

62
00:02:09,970 --> 00:02:11,940
which of course is up to you whether you want

63
00:02:11,940 --> 00:02:14,140
to have this changed or not.

64
00:02:14,140 --> 00:02:15,910
Now, one important note is that

65
00:02:15,910 --> 00:02:17,580
on the bottom left corner here,

66
00:02:17,580 --> 00:02:19,090
you will see that Docker

67
00:02:19,090 --> 00:02:20,610
is currently running.

68
00:02:20,610 --> 00:02:21,830
And it will start

69
00:02:21,830 --> 00:02:24,590
whenever you start Docker Desktop.

70
00:02:24,590 --> 00:02:27,110
So if you don't automatically start it with startup

71
00:02:27,110 --> 00:02:28,520
of your system,

72
00:02:28,520 --> 00:02:30,720
you should start it manually by running

73
00:02:30,720 --> 00:02:33,010
this Docker app before you try

74
00:02:33,010 --> 00:02:35,910
to run any Docker commands against it.

75
00:02:35,910 --> 00:02:37,820
Because all those commands which you'll see

76
00:02:37,820 --> 00:02:38,820
throughout the course,

77
00:02:38,820 --> 00:02:40,955
which we execute in the command line will

78
00:02:40,955 --> 00:02:43,690
only work if Docker is running.

79
00:02:43,690 --> 00:02:45,230
So you should always make sure

80
00:02:45,230 --> 00:02:47,580
that you started Docker, for example,

81
00:02:47,580 --> 00:02:50,400
by starting the Docker Desktop app in order

82
00:02:50,400 --> 00:02:52,840
to run commands thereafter.

83
00:02:52,840 --> 00:02:53,673
Now with that,

84
00:02:53,673 --> 00:02:54,610
that's it for the moment,

85
00:02:54,610 --> 00:02:56,060
you can close this window.

86
00:02:56,060 --> 00:02:57,630
It's still running here as long

87
00:02:57,630 --> 00:02:58,960
as you have this icon here.

88
00:02:58,960 --> 00:03:01,410
And you can always shut Docker down with

89
00:03:01,410 --> 00:03:02,600
this menu here.

90
00:03:02,600 --> 00:03:03,440
But for the moment,

91
00:03:03,440 --> 00:03:04,510
I'll keep it up and running.

92
00:03:04,510 --> 00:03:06,310
And again, make sure it is

93
00:03:06,310 --> 00:03:07,610
up and running when you plan

94
00:03:07,610 --> 00:03:09,300
on working with it.

95
00:03:09,300 --> 00:03:10,930
And that's already it

96
00:03:10,930 --> 00:03:14,100
with the Docker for Mac OS setup.

97
00:03:14,100 --> 00:03:15,970
For older versions of Mac OS,

98
00:03:15,970 --> 00:03:18,470
check out this extra lecture which comes

99
00:03:18,470 --> 00:03:19,940
after the next lecture.

100
00:03:19,940 --> 00:03:20,830
And for Windows,

101
00:03:20,830 --> 00:03:23,350
also check out that next lecture.

102
00:03:23,350 --> 00:03:24,183
And with that,

103
00:03:24,183 --> 00:03:26,320
you'll then be ready to dive into Docker

104
00:03:26,320 --> 00:03:28,860
and start writing some commands to learn

105
00:03:28,860 --> 00:03:30,320
how Docker really works

106
00:03:30,320 --> 00:03:31,803
and what you can do with it.

