Last active
November 5, 2023 09:06
-
-
Save jifang/b1a16cca7f7e2d2625f7d3c2270d23f8 to your computer and use it in GitHub Desktop.
Setup docker on CentOS
This file contains 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/bash | |
cat /etc/os-release | |
# Install docker engine | |
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo | |
yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment