Last active
June 8, 2022 11:37
-
-
Save brian9206/cf5519fa670be7dcfbf785c30f4d79e2 to your computer and use it in GitHub Desktop.
Install Docker on Rocky Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# From https://www.tecmint.com/install-docker-in-rocky-linux-and-almalinux/ | |
dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo | |
dnf update -y | |
dnf install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin | |
systemctl enable --now docker | |
echo 'alias docker-compose="docker compose"' >> /etc/profile.d/docker-compose.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
curl -s -L https://gist.githubusercontent.com/brian9206/cf5519fa670be7dcfbf785c30f4d79e2/raw/4b461d032ce1ccab6e324a31106dbe114dc63c60/InstallDockerOnRockyLinux.sh | bash