Before going on, I need to perform some cleanup of my doggerel gross up because I have some cached
images and some containers that well stopped.
If you have cleaned it up.
Feel free to skip this lecture and move on.
Want the next one?
All right.
Let me at least the containers here that where I stopped Dakara.
Yes.
There's a and here I see bunch of stop the containers.
And in order to remove all stop containers, I could use command dock from container Bruun.
There is no short version of this command.
That's why I'm using Container Management Command along with Spruill.
Self-command.
Diaby, yes, here and all stopped containerize where are deleted?
And now if all this container was using same comment, Dr. Pierce, there's a I will not see any containers
on the list.
Great.
Let me know.
At least all images that I held before pulled from Docker Hub for that.
I could use a short comment.
Docker images.
And here was a long list of images that I have used before in the previous longer practice chapter.
And I see such images as my sequel, WordPress, sir.
HD, DVD or Rightest and so on.
At the moment those images are not used and there are no containers created from those images.
This way I am able to safely baroon those images and for that I could use Docker image.
Broon Command.
Let me throw that list.
All commands.
Subcommanders of Dogra Image Management Command Docker image.
That does help.
And here is this list of sub commands that you are able to use along with Image Management Command.
And here was Broon Command.
And with help of this command, you are able to remove unused images in which is considered unused.
When there are no Iran in all stopped containers that were created from this image.
Great.
Let me know.
List the all possible options for Broon command docker image Baroon.
This does help.
And here are some options.
And notice that with Dash a option or there's this all this long version of this short comment, you
are able to remove all unused images, not just them being ones.
It means that just with Docker image, Broon Command Doga will remove only so-called Vanderlyn images
and image is considered downlink when there is no corresponding version of this image.
A Docker hub, for example, when you have pulled specific image from Docker Hub.
But afterwards such image was removed from dogor hub.
But it remains in your local cache.
This image is called dentin image.
But I want to remove all unused images.
And that's why I need to add this.
A option to Docker image.
Bruun Command.
Let's do that.
Docker Image.
Bruun Desh A.
Yes.
Notice that this will remove all images without at least one container associated to them at the moment.
I don't have any containers running or stopped.
Great.
Let's press.
And our hero.
I need to get out because the doctor is a to several gigabytes of images and finally images are deleted.
And in this outward, I see a long list of looks like deleted the SHA 256.
And then comes a list of hexadecimal characters.
And here in this output, I see a long list of such clocks.
Also, I see such logs as untagged nold latest or untracked nold.
Add the shadow on them two to six and then comes again showerheads.
And again, this list is much longer than then amount of images.
I have used on this DOKO machine.
And the reason for that is that basically every image consists of multiple file system layers.
And that's why Dogra has the removed correspondant filesystem layer.
Instead of just removing images.
That's why in this Solok output, I see multiple lines.
Because every image you may have multiple afast layers.
For example, this Beezy books image had two layers.
And that's why here I see those two deleted lines.
I'll buy an image has only one.
That's why here I see on this one deleted line.
But no worries.
We'll talk about all those details a bit later.
For now, you need to understand that I have successfully deleted all images that were stored in my
local cache.
And now if I enter Dockum image, just comment.
I'll see nothing.
There are no images in my local cache and we are able to go on next.
I'll start from scratch.
And the Lord, where he throws the most simple hello world container and explain what happens under
the hood.
And what does the structure of that image that will download.
I'll see you in the next lecture.
Right.