![]() 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. There is also another situation in which the “command not found” error can appear for Docker, it’s very common in some Ubuntu systems so we are going to explain this one below after the fix for the other cases.If this is happening in your case then you will get the same error even if Docker was installed. Sometimes, depending on how you install your software, creating a custom binary is necessary to run that particular software. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |