- In this video, you will learn about the requirements
for managing Docker containers with Ansible.
So what are these requirements?
Well, in order to use Docker containers,
dockerd, that's a daemon, must be installed and started.
Next, different specific modules can be used
to manage Docker containers.
And you can use ansible-doc-l grep docker for an overview.
You should also notice that you do not use docker modules
for managing podman containers on Red Hat.
I will show you in lesson 15.3
how to manage podman containers in Red Hat.
But you should know that Red Hat,
with the release of Red Hat Enterprise Linux 8,
has gone their own direction.
And in that direction,
there is just no place anymore for Docker.
Podman is the default and you shouldn't try to use
RHEL8 and similar distributions with Docker.
That's not supported.
It will break all the time.
It's not working well, so just don't do it.
Now what is the high-level overview of our tasks to be done?
First, you need to add a repository to install Docker.
That is because Docker works best
if you install from the Docker repository
so that's what we are going to do.
Then you need to install and start the Docker daemon.
Install the Python pip module to support Docker
and create container.
And then you can generate a list of learning containers.
In the next video, you'll see how we can do that.