AlmaLinux / Rocky Linux 8 System
Start the installation by updating AlmaLinux / Rocky Linux 8 system OS packages to the latest versions.
sudo dnf -y update
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
:
sudo dnf install docker-ce docker-ce-cli containerd.io docker-compose-plugin
sudo systemctl enable --now docker
sudo usermod -aG docker $USER
newgrp docker
Confirm if you’re able to run any docker commands without sudo:
$ docker --version
Docker version 20.10.17, build 100c701
ความคิดเห็น
แสดงความคิดเห็น