12/19/2023 0 Comments Install docker centos 8Note: You need to skip this step if you are installing Docker on our KVM servers as our KVM servers support Docker's overlay2 driver. If you see the message “Hello from Docker!” it means that docker is working correctly. Now to check that Docker is working correctly we will run hello-world. $ sudo newgrp dockerĬheck the Docker version. To activate changes to groups, run the following commands. This will enable docker to run without using sudo (as a non-root user). $ sudo systemctl enable rviceĪdd your user to the Docker group. $ sudo yum install docker-ce docker-ce-cli containerd.io docker-compose-pluginĮnable and start Docker service. Now install Docker engine along with dependencies. It is fine if yum says that none of these packages are installed.Īdd the Docker repo with: $ sudo yum install -y yum-utils $ sudo yum remove docker docker-engine docker.io containerd runc You have shell (SSH) access to your VPSįirst, uninstall the old version of Docker if it is already installed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |