Yum install docker centos 74/13/2023 We're going to cover that in the next lesson. We haven't really covered containers yet. However, let's verify that, and to do that, we're going to actually start up a very simplistic hello-world container. Now, in theory, everything should be working and ready to go. So you can see here that the daemon is running. Now let's verify that the daemon is running with the status subcommand. Okay, everything went well, so the container engine should be all set. The next part is going to take a minute or so, so I'm going to speed this up. Now it's going to ask to verify a couple of GPG keys, and this can be done by typing the letter Y. This is going to install nine dependencies and the total size will be 81 megabytes. And you can see here there is a summary of what's going to be installed. Okay, with the Docker repo added, we can install Docker. So with these installed, now we can use the yum-config-manager that allows us to add the Docker repo. Now, this is only going to take a few moments. The device-mapper and lvm2 packages are used for the devicemapper storage driver. The yum-utils package includes the yum-config-manager, which allows us to add and enable yum repositories. Next up we need to install some prerequisites. There isn't anything installed, so this shouldn't have anything that needs to be removed, but I'm going to run it anyway. The Docker documentation recommends that you start with a clean slate and remove any existing version of Docker. Now, I'm currently connected to the CentOS VM via SSH. So if you wannna run Docker on Windows, macOS or Linux, there are instructions for that, and I'm going to leave the link to that documentation in the description of this course. However, Docker has good documentation covering all of the different installation options available, and there are several operating systems that you can use. I'll be using Vagrant to start up a CentOS VM. Welcome back! In this lesson we'll be installing Docker on CentOS Linux.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |