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
0 Comments
Leave a Reply. |