WEBVTT - This file was automatically generated by VIMEO

0
00:00:07.300 --> 00:00:11.000
Hi in this video. Let's talk about the available Jupiter

1
00:00:10.400 --> 00:00:11.500
 Docker images.

2
00:00:12.600 --> 00:00:15.500
We will choose the right one for us and start it's

3
00:00:15.500 --> 00:00:16.800
 container on our computer.

4
00:00:18.200 --> 00:00:21.800
There are a few Jupiter Docker images depending on how you

5
00:00:21.800 --> 00:00:22.500
 would like to use them.

6
00:00:23.300 --> 00:00:26.600
For example for the learning with GPU support

7
00:00:26.600 --> 00:00:29.600
 with included some programming languages like

8
00:00:29.600 --> 00:00:32.800
 r or Java or with included Big

9
00:00:32.800 --> 00:00:35.300
 Data libraries, like spark or Hadoop and

10
00:00:35.300 --> 00:00:35.600
 so on.

11
00:00:36.500 --> 00:00:39.400
On the Jupiter website we can have more info about

12
00:00:39.400 --> 00:00:40.700
 them. So let's check it.

13
00:00:54.400 --> 00:00:55.100
So here we are.

14
00:00:56.600 --> 00:00:59.200
Here we see the list all of the Jupiter images.

15
00:01:01.100 --> 00:01:04.300
And the right one for us will be this one

16
00:01:04.300 --> 00:01:07.800
 Jupiter / data science notebook because in

17
00:01:07.800 --> 00:01:10.600
 later chapters, we will do a lot of data science.

18
00:01:12.200 --> 00:01:15.800
If you explore this website, you will find here also

19
00:01:15.800 --> 00:01:18.400
 that Jupiter provides also a lot

20
00:01:18.400 --> 00:01:20.300
 of community maintained images.

21
00:01:21.600 --> 00:01:24.300
You will have here instructions on how to

22
00:01:24.300 --> 00:01:28.400
 run the containers information about how

23
00:01:27.400 --> 00:01:30.000
 to troubleshoot problems.

24
00:01:31.400 --> 00:01:34.500
In order to start our container. We need to clone

25
00:01:34.500 --> 00:01:37.700
 our repo first because we want to build our

26
00:01:37.700 --> 00:01:40.100
 repo folder to folder in the container.

27
00:01:40.900 --> 00:01:43.300
After that, we will run the docker run

28
00:01:43.300 --> 00:01:43.600
 command.

29
00:01:44.300 --> 00:01:47.500
Now a little bit to the parameters of the docker command.

30
00:01:48.500 --> 00:01:51.100
The E stands for volume and here we will

31
00:01:51.100 --> 00:01:54.600
 bend our cloned repo directory to a directory

32
00:01:54.600 --> 00:01:55.200
 in the container.

33
00:01:56.300 --> 00:01:59.100
P stands for publish in this we say to

34
00:01:59.100 --> 00:02:02.400
 Docker. It should make a container sport available to our host.

35
00:02:03.500 --> 00:02:06.500
It basically Maps container sport to

36
00:02:06.500 --> 00:02:07.100
 our host port.

37
00:02:08.100 --> 00:02:11.700
With e we set an environment variable inside the

38
00:02:11.700 --> 00:02:12.000
 container.

39
00:02:13.100 --> 00:02:15.500
Name will set our containers name.

40
00:02:16.300 --> 00:02:19.600
With d we run our container in a detached

41
00:02:19.600 --> 00:02:22.500
 mode. That means it will be run in the background of

42
00:02:22.500 --> 00:02:23.300
 your terminal.

43
00:02:24.300 --> 00:02:27.300
It does not receive any input or display output.

44
00:02:28.100 --> 00:02:31.300
And the last piece of text is the image we want to use and

45
00:02:31.300 --> 00:02:32.100
 it's stuck.

46
00:02:32.700 --> 00:02:35.500
There are more versions of the image, but even

47
00:02:35.500 --> 00:02:36.000
 the latest one.

48
00:02:37.400 --> 00:02:40.500
You can check the docker and documentation via provided

49
00:02:40.500 --> 00:02:42.700
 link and now let's do it.

50
00:02:47.100 --> 00:02:49.000
We will clone our rip off first.

51
00:03:02.300 --> 00:03:02.900
Okay, that's done.

52
00:03:05.300 --> 00:03:07.600
And now we will run the dock around commands.

53
00:03:14.600 --> 00:03:15.300
This will take a while.

54
00:03:17.100 --> 00:03:18.300
our image has

55
00:03:19.600 --> 00:03:21.200
few gigabytes. So let's be patient.

56
00:03:22.100 --> 00:03:25.500
Okay, and it seems we've been successful. So let's check

57
00:03:25.500 --> 00:03:25.700
 it.

58
00:03:29.400 --> 00:03:33.500
Remember we mapped the container spores to the port 8888

59
00:03:32.500 --> 00:03:34.800
 on our host.

60
00:03:42.500 --> 00:03:44.000
Yes, and it's working.

61
00:03:44.900 --> 00:03:47.600
We set up the token environment variable

62
00:03:47.600 --> 00:03:48.300
 to docker.

63
00:03:53.900 --> 00:03:55.100
And we are in.

64
00:03:56.400 --> 00:04:00.300
Another thing which I want to show you is a Docker

65
00:03:59.300 --> 00:04:00.700
 desktop.

66
00:04:02.900 --> 00:04:06.000
Here you can see our running containers.

67
00:04:07.500 --> 00:04:10.700
Images volumes and so on and here

68
00:04:10.700 --> 00:04:13.200
 for example, we can see that this is

69
00:04:13.200 --> 00:04:16.500
 the container we just created is running.

70
00:04:17.800 --> 00:04:20.500
It's running on the sport. We can stop it.

71
00:04:20.500 --> 00:04:21.600
 We can delete it.

72
00:04:24.800 --> 00:04:29.000
And then the same applies to the images

73
00:04:27.800 --> 00:04:30.500
 you can manage the

74
00:04:30.500 --> 00:04:32.000
 images here also very easily.

75
00:04:33.200 --> 00:04:36.800
In our next video, we will start finally to exploring

76
00:04:36.800 --> 00:04:38.000
 the jupyter notebook app.
