1
00:00:04,290 --> 00:00:09,300
Before going on, I need to perform some cleanup of my doggerel gross up because I have some cached

2
00:00:09,330 --> 00:00:11,540
images and some containers that well stopped.

3
00:00:11,970 --> 00:00:13,480
If you have cleaned it up.

4
00:00:13,500 --> 00:00:15,250
Feel free to skip this lecture and move on.

5
00:00:15,250 --> 00:00:15,990
Want the next one?

6
00:00:16,470 --> 00:00:16,810
All right.

7
00:00:17,250 --> 00:00:20,970
Let me at least the containers here that where I stopped Dakara.

8
00:00:21,640 --> 00:00:21,910
Yes.

9
00:00:22,090 --> 00:00:25,980
There's a and here I see bunch of stop the containers.

10
00:00:26,250 --> 00:00:32,650
And in order to remove all stop containers, I could use command dock from container Bruun.

11
00:00:33,330 --> 00:00:35,540
There is no short version of this command.

12
00:00:35,610 --> 00:00:39,540
That's why I'm using Container Management Command along with Spruill.

13
00:00:39,600 --> 00:00:40,320
Self-command.

14
00:00:41,850 --> 00:00:45,870
Diaby, yes, here and all stopped containerize where are deleted?

15
00:00:46,390 --> 00:00:51,880
And now if all this container was using same comment, Dr. Pierce, there's a I will not see any containers

16
00:00:51,940 --> 00:00:52,420
on the list.

17
00:00:52,960 --> 00:00:53,240
Great.

18
00:00:53,620 --> 00:00:54,090
Let me know.

19
00:00:54,090 --> 00:00:58,120
At least all images that I held before pulled from Docker Hub for that.

20
00:00:58,180 --> 00:00:59,410
I could use a short comment.

21
00:00:59,470 --> 00:01:00,450
Docker images.

22
00:01:01,000 --> 00:01:06,690
And here was a long list of images that I have used before in the previous longer practice chapter.

23
00:01:07,000 --> 00:01:10,490
And I see such images as my sequel, WordPress, sir.

24
00:01:10,690 --> 00:01:12,460
HD, DVD or Rightest and so on.

25
00:01:12,940 --> 00:01:17,950
At the moment those images are not used and there are no containers created from those images.

26
00:01:18,310 --> 00:01:24,340
This way I am able to safely baroon those images and for that I could use Docker image.

27
00:01:24,340 --> 00:01:25,060
Broon Command.

28
00:01:25,510 --> 00:01:26,780
Let me throw that list.

29
00:01:26,920 --> 00:01:27,520
All commands.

30
00:01:27,620 --> 00:01:31,060
Subcommanders of Dogra Image Management Command Docker image.

31
00:01:31,090 --> 00:01:31,870
That does help.

32
00:01:32,650 --> 00:01:38,230
And here is this list of sub commands that you are able to use along with Image Management Command.

33
00:01:38,560 --> 00:01:39,950
And here was Broon Command.

34
00:01:40,030 --> 00:01:46,330
And with help of this command, you are able to remove unused images in which is considered unused.

35
00:01:46,360 --> 00:01:51,350
When there are no Iran in all stopped containers that were created from this image.

36
00:01:52,080 --> 00:01:52,360
Great.

37
00:01:52,600 --> 00:01:53,050
Let me know.

38
00:01:53,050 --> 00:01:58,540
List the all possible options for Broon command docker image Baroon.

39
00:01:59,080 --> 00:01:59,800
This does help.

40
00:02:00,980 --> 00:02:02,480
And here are some options.

41
00:02:02,870 --> 00:02:08,930
And notice that with Dash a option or there's this all this long version of this short comment, you

42
00:02:08,930 --> 00:02:13,060
are able to remove all unused images, not just them being ones.

43
00:02:13,670 --> 00:02:20,960
It means that just with Docker image, Broon Command Doga will remove only so-called Vanderlyn images

44
00:02:21,620 --> 00:02:27,260
and image is considered downlink when there is no corresponding version of this image.

45
00:02:27,350 --> 00:02:31,790
A Docker hub, for example, when you have pulled specific image from Docker Hub.

46
00:02:32,000 --> 00:02:35,300
But afterwards such image was removed from dogor hub.

47
00:02:35,540 --> 00:02:37,490
But it remains in your local cache.

48
00:02:37,850 --> 00:02:40,190
This image is called dentin image.

49
00:02:40,610 --> 00:02:42,920
But I want to remove all unused images.

50
00:02:43,130 --> 00:02:44,990
And that's why I need to add this.

51
00:02:45,080 --> 00:02:47,090
A option to Docker image.

52
00:02:47,150 --> 00:02:47,870
Bruun Command.

53
00:02:48,410 --> 00:02:48,940
Let's do that.

54
00:02:49,370 --> 00:02:50,870
Docker Image.

55
00:02:51,140 --> 00:02:52,640
Bruun Desh A.

56
00:02:53,690 --> 00:02:54,110
Yes.

57
00:02:54,830 --> 00:03:01,220
Notice that this will remove all images without at least one container associated to them at the moment.

58
00:03:01,250 --> 00:03:03,770
I don't have any containers running or stopped.

59
00:03:04,260 --> 00:03:04,460
Great.

60
00:03:04,550 --> 00:03:04,910
Let's press.

61
00:03:04,940 --> 00:03:05,590
And our hero.

62
00:03:06,660 --> 00:03:13,320
I need to get out because the doctor is a to several gigabytes of images and finally images are deleted.

63
00:03:13,770 --> 00:03:19,070
And in this outward, I see a long list of looks like deleted the SHA 256.

64
00:03:19,140 --> 00:03:22,560
And then comes a list of hexadecimal characters.

65
00:03:22,860 --> 00:03:27,100
And here in this output, I see a long list of such clocks.

66
00:03:27,720 --> 00:03:32,970
Also, I see such logs as untagged nold latest or untracked nold.

67
00:03:33,050 --> 00:03:36,580
Add the shadow on them two to six and then comes again showerheads.

68
00:03:37,080 --> 00:03:41,530
And again, this list is much longer than then amount of images.

69
00:03:41,610 --> 00:03:43,570
I have used on this DOKO machine.

70
00:03:44,190 --> 00:03:50,790
And the reason for that is that basically every image consists of multiple file system layers.

71
00:03:51,270 --> 00:03:55,240
And that's why Dogra has the removed correspondant filesystem layer.

72
00:03:55,440 --> 00:03:57,090
Instead of just removing images.

73
00:03:57,420 --> 00:04:00,320
That's why in this Solok output, I see multiple lines.

74
00:04:00,630 --> 00:04:04,250
Because every image you may have multiple afast layers.

75
00:04:05,310 --> 00:04:08,400
For example, this Beezy books image had two layers.

76
00:04:08,430 --> 00:04:11,640
And that's why here I see those two deleted lines.

77
00:04:12,390 --> 00:04:14,670
I'll buy an image has only one.

78
00:04:14,730 --> 00:04:17,870
That's why here I see on this one deleted line.

79
00:04:18,450 --> 00:04:19,560
But no worries.

80
00:04:19,620 --> 00:04:21,690
We'll talk about all those details a bit later.

81
00:04:21,959 --> 00:04:27,210
For now, you need to understand that I have successfully deleted all images that were stored in my

82
00:04:27,270 --> 00:04:28,050
local cache.

83
00:04:28,500 --> 00:04:31,680
And now if I enter Dockum image, just comment.

84
00:04:32,240 --> 00:04:33,090
I'll see nothing.

85
00:04:33,240 --> 00:04:37,470
There are no images in my local cache and we are able to go on next.

86
00:04:37,530 --> 00:04:38,610
I'll start from scratch.

87
00:04:38,700 --> 00:04:43,740
And the Lord, where he throws the most simple hello world container and explain what happens under

88
00:04:43,740 --> 00:04:44,070
the hood.

89
00:04:44,310 --> 00:04:46,900
And what does the structure of that image that will download.

90
00:04:47,250 --> 00:04:48,360
I'll see you in the next lecture.

91
00:04:48,540 --> 00:04:48,640
Right.

