1 00:00:07,230 --> 00:00:10,040 - In this video, you will learn about the requirements 2 00:00:10,040 --> 00:00:12,560 for managing Docker containers with Ansible. 3 00:00:13,590 --> 00:00:15,510 So what are these requirements? 4 00:00:15,510 --> 00:00:17,770 Well, in order to use Docker containers, 5 00:00:17,770 --> 00:00:21,680 dockerd, that's a daemon, must be installed and started. 6 00:00:21,680 --> 00:00:23,807 Next, different specific modules can be used 7 00:00:23,807 --> 00:00:26,300 to manage Docker containers. 8 00:00:26,300 --> 00:00:30,823 And you can use ansible-doc-l grep docker for an overview. 9 00:00:31,930 --> 00:00:34,870 You should also notice that you do not use docker modules 10 00:00:34,870 --> 00:00:37,520 for managing podman containers on Red Hat. 11 00:00:37,520 --> 00:00:40,370 I will show you in lesson 15.3 12 00:00:40,370 --> 00:00:42,863 how to manage podman containers in Red Hat. 13 00:00:43,820 --> 00:00:45,870 But you should know that Red Hat, 14 00:00:45,870 --> 00:00:48,090 with the release of Red Hat Enterprise Linux 8, 15 00:00:48,090 --> 00:00:49,880 has gone their own direction. 16 00:00:49,880 --> 00:00:51,890 And in that direction, 17 00:00:51,890 --> 00:00:56,850 there is just no place anymore for Docker. 18 00:00:56,850 --> 00:01:01,190 Podman is the default and you shouldn't try to use 19 00:01:01,190 --> 00:01:04,930 RHEL8 and similar distributions with Docker. 20 00:01:04,930 --> 00:01:05,820 That's not supported. 21 00:01:05,820 --> 00:01:07,240 It will break all the time. 22 00:01:07,240 --> 00:01:10,160 It's not working well, so just don't do it. 23 00:01:10,160 --> 00:01:14,010 Now what is the high-level overview of our tasks to be done? 24 00:01:14,010 --> 00:01:17,660 First, you need to add a repository to install Docker. 25 00:01:17,660 --> 00:01:19,230 That is because Docker works best 26 00:01:19,230 --> 00:01:21,340 if you install from the Docker repository 27 00:01:21,340 --> 00:01:23,300 so that's what we are going to do. 28 00:01:23,300 --> 00:01:26,130 Then you need to install and start the Docker daemon. 29 00:01:26,130 --> 00:01:29,520 Install the Python pip module to support Docker 30 00:01:29,520 --> 00:01:31,780 and create container. 31 00:01:31,780 --> 00:01:35,460 And then you can generate a list of learning containers. 32 00:01:35,460 --> 00:01:37,910 In the next video, you'll see how we can do that.