Created
February 24, 2020 16:00
-
-
Save dmglab/b2df2f2b39ee784a2ee07600ff327d61 to your computer and use it in GitHub Desktop.
install docker & compose on centos 8 (Feb 2020)
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
dnf install -y epel-release | |
dnf install -y gcc python3-pip device-mapper-persistent-data lvm2 | |
dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo | |
dnf install docker-ce --nobest -y | |
systemctl start docker | |
systemctl enable docker | |
alternatives --set python /usr/bin/python3 | |
pip3 install docker-compose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment