Skip to content

Instantly share code, notes, and snippets.

@gangsta
Last active March 20, 2018 22:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gangsta/ae8226f3eaa074e3232c992d85dce285 to your computer and use it in GitHub Desktop.
Save gangsta/ae8226f3eaa074e3232c992d85dce285 to your computer and use it in GitHub Desktop.
How to Install Docker CE 17 + version Centos 7

Docker CE for Centos 7

yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum install docker-ce -y
systemctl start docker

Adding Docker compose

yum install epel-release -y
yum install python-pip -y
pip install docker-compose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment