Skip to content

Instantly share code, notes, and snippets.

@donilan
Created March 22, 2017 05:01
Show Gist options
  • Save donilan/77e6551a281289191bee98ac89dd2ea2 to your computer and use it in GitHub Desktop.
Save donilan/77e6551a281289191bee98ac89dd2ea2 to your computer and use it in GitHub Desktop.
#!/usr/bin/bash
yum install -y yum-utils
yum-config-manager \
--add-repo \
https://download.docker.com/linux/centos/docker-ce.repo
yum makecache fast
yum update -y
yum install docker-ce -y
systemctl start docker
systemctl enable docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment