Install a Specific Version of Docker on CentOS ![]() Start Docker: sudo systemctl start dockerĮnable Docker: sudo systemctl enable dockerĬheck the status of the service with: sudo systemctl status docker Run the following commands in the order listed below. To start the service, enable it to run at startup. With everything set, you can finally move on to installing Docker on CentOS 7 by running: sudo yum install docker Step: 5 Manage Docker ServiceĪlthough you have installed Docker on CentOS, the service is still not running. To do so, run the command: sudo yum-config-manager -add-repo Step 4: Install Docker On CentOS Using Yum To install the edge or test versions of Docker, you need to add the Docker CE stable repository to your system. Type in the following command: sudo yum install -y yum-utils device-mapper-persistent-data lvm2 Step 3: Add the Docker Repository to CentOS The next step is to download the dependencies required for installing Docker. In a terminal window, type: sudo yum check-updateĪllow the operation to complete. The yum command is used to install from Docker repositories, which is the simplest and most popular technique.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |