Now I wanna take the time and have a look
at how we can configure and manage
our images and containers.
Because thus far, we saw how we can build an image
and how we can run a container, how we can stop a container,
but there is more we can do and more we should be aware of.
And in general, one very important hint or note
you should be aware of, is that on any Docker command,
you can add dash-dash-help to see all available options.
Now, there will be tons of options which you never
or only rarely need, but you will see all available ways
of running a certain command
or of configuring a certain command,
by adding dash-dash-help.
That's an important hint.
In the next lectures, we'll focus on a couple of core
configuration options and core features built into Docker.
We will learn how we can tag,
which basically means name images.
We will learn how we can list the images we created
in the past, how we can analyze and inspect images,
and also how we can remove and clear images
if we no longer need them.
We will also have a closer look at containers
and learn how we can name containers,
how we can configure them in detail,
how we can control them in detail,
and we'll use dash-dash-help for that
to see various options there.
We'll have another look at listing containers,
running and stopped containers,
we'll also see how we can restart containers
that we stopped in the past,
and we will also learn how we can remove containers
after they have been stopped
when we don't need them anymore.
So that's a broad variety of things
we can do with images and containers.
Let's dive in.