
sudo usermod -aG docker $USERĬheck whether your user is in the docker group or not. To run docker commands we need sudo rights or root access and to avoid that add your current system user into the Docker group so that you can easily run its command for downloading and creating containers. Add Rocky Linux User to Docker User Group sudo systemctl enable dockerĬheck the Status of the Service to know it is working properly. Once the installation is completed, start the Docker service on your Rocky Linux and also enable it to run automatically with system boot. sudo dnf install docker-ce docker-ce-cli containerd.io So, we already have the Docker repo and now it’s time to run the simple command using the DNF package manager for installing the Docker-CE along with its command-line tool and containerd.io to efficiently manage the container lifecycle of its host system. To let the system recognize the added Docker repository and the packages available in the same, run the system update that will force Rocky Linux to rebuild the system repo cache. Note– It is a single command, thus use it as whole sudo dnf config-manager -add-repo=

Add Docker Repo on Rocky LinuxĪdd official Docker CE repository on your Rocky Linux 8, so that we can install it without downloading its packages manually. The steps given here will also work for RHEL and CentOS 8… Also see our article on how to install KiteMatic Docker GUI on Rocky Linux.

Commands to start, stop, and restart Docker Engine.How to pull Images from Docker Hub to install and run a container?.Docker Installation process for Rocky Linux 8.Run Container Steps to install Docker CE on Rocky Linux 8
