All right, guys.
In the previous lecture, I have explained your differences between DOKO comments and Dr. Management
comments and Dr. Management comments have a bureau not long ago.
And did they actually combine some of your regular comments?
And some people say that you must use all the management commands and forget about comments.
But I will argue with that because DOKO comments are much shorter and they are much quicker to type.
And also, please note that you don't need to remember all those commands listed here.
You will use just a part of them on regular basis.
All right.
In this lecture, I want to show you some alternative versions of a sample.
Bill recommends that you could use Ayas or with the commands or management comments.
And here was such a list.
For example, most popular recommend is Doc or a P.
S and this comment, Lisa.
All containers that are currently run and a different version for this comment with management comment
is doga contain or less.
And of course, this command has more characters and you need more time to type.
That's why I prefer personally to use this shortcut.
Dr. Pierce.
Next alternative player is Doc Build and Doc or build or build.
And with this command, you are able to build a new image and a game.
Please note that those comments are completely equivalent and you're able to use eyes.
Or this one.
Great.
Next player is Docker inspect and docker container inspect.
With this command you are able to inspect and 3D details about specific container that it was created
before.
And again, you're able to use eyes or shortcut docker to inspect or docker container inspect where
a container is.
Management command and inspect.
Is Subcommander.
Next example is dockworker meat and docker container commit.
Was this a command to your able to create the image based on specific container?
And last example is Doc around and Docker Container Run.
It is also very popular in command and I prefer to use this shortcut with this command.
You're able to start a new container or if you want your able to use management command docker container
run to perform the same action.
Great.
That's automative of some commands and much more commands have done deals with management commands.
But I have just shown you some examples of them in order to get idea of what is.
I don't have command for management command.
Great.
Let me quickly go to terminal and use dogor P.
S command and this command will show you currently running containers.
And at the moment, this, least in my case, is empty.
And I could use same command with management command, docker, container, Ellis and this output.
You'll see the same result as you see in Docker.
P.S. output.
And that means that those two commands are completely equivalent.
Great.
That's all for this lecture.
And please note that you're able to use eyes or short versions of commands or loan versions with management
commands.
And probably in the future, Docker developers will remove some doga commands like a dog or a B.S. dog
or build a dog reinspect.
But I personally don't think so because many, many people use short versions and they are used to them.
Right.
Let's proceed.
And the next day, let's start talking about containers and images and start performing some practical
activities.
And I'll tell you how to pull image from Locher Hub and how to create new container based on that image.
Also, I'll explain the structure of image and container.
I'll see you in the next lecture.
Bye bye.