![]() ![]() Now we install some necessary packages: apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common ![]() Now we add the Docker repo: yum-config-manager -add-repo Īnd finally, we install Docker: yum install docker-ceĪnd that’s it, Docker is now installed on your CentOS/RHEL system and you shouldn’t get the not found error anymore.įirst, we have to update the apt index: apt-get update To make sure you install docker the right way you can run the following commands as the root user of your system.įirst, we have to install some dependencies: yum install yum-utils device-mapper-persistent-data lvm2 The most common situation is that Docker is not installed or wasn’t properly installed. Ok, we have seen some different situations in which we can get the docker: command not found error, so now let’s see how can we fix this and get the docker command running properly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |