Last active
July 6, 2021 17:08
-
-
Save jenciso/1bfba6b9dca8bec6b8856374c8dfbf4f to your computer and use it in GitHub Desktop.
Installing docker-ce on Centos 7
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
sudo yum install -y yum-utils | |
sudo yum-config-manager \ | |
--add-repo \ | |
https://download.docker.com/linux/centos/docker-ce.repo | |
sudo yum install -y docker-ce docker-ce-cli containerd.io | |
sudo systemctl start docker && sudo systemctl enable docker | |
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/bin/docker-compose | |
sudo chmod +x /usr/bin/docker-compose |
Author
jenciso
commented
May 4, 2021
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment