![]() ![]() There are multiple ways to install Docker on Linux distributions. ![]() ~]$ docker info ~]$ docker psĬommand to enable starting of Docker service on boot: ~]$ sudo systemctl enable dockerĬommand to stop Docker service: ~]$ sudo service docker stop Step 6: Verify the installation by running some docker commands. Podman is installed along with Buildah for installing container images as a build-in way rather than needing other software. Thats why you have to add the Docker CE repo to install it. After successful execution of the command, logout and login with the user for changes to take effect. estrando Podman is meant to replace Docker which isnt available in any of the CentOS 8 repos. In this command, the username is geeks and group name is docker. This is required so that user can execute the commands without using sudo privileges. Now it’s time to mount your USB drive by creating a new directory under /media, for example, /media/myusb. If Docker service is not running then start the Docker service ~]$ sudo service docker start Step 5: Add user to the Docker group Steps to install Docker on Amazon Linux AMI, CentOS, Fedora & RHEL 64bit Step 1: Login into the server via SSH Step 2: Update the packages using YUM utility with sudo privileges ~]$ sudo yum update -y Step 3: Install Docker using YUM utility ~]$ sudo yum install docker -y Step 4: Check the Docker engine version ~]$ docker -version Step 5: Check if Docker service is running ~]$ docker info ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |