Skip to content

Instantly share code, notes, and snippets.

@joshy91
Last active July 11, 2018 20:29
Show Gist options
  • Save joshy91/9521c0e183a42e736320ed2f87f89da9 to your computer and use it in GitHub Desktop.
Save joshy91/9521c0e183a42e736320ed2f87f89da9 to your computer and use it in GitHub Desktop.
Install Docker.ce on Centos7
#!/bin/bash
yum update
yum install docker
systemctl enable docker && systemctl start docker && systemctl status docker
#Replace *user* with actual user name
usermod -aG docker user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment