Skip to content

Instantly share code, notes, and snippets.

@dmglab
Created February 24, 2020 16:00
Show Gist options
  • Save dmglab/b2df2f2b39ee784a2ee07600ff327d61 to your computer and use it in GitHub Desktop.
Save dmglab/b2df2f2b39ee784a2ee07600ff327d61 to your computer and use it in GitHub Desktop.
install docker & compose on centos 8 (Feb 2020)
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