Skip to content

Instantly share code, notes, and snippets.

@gris-gris
Created August 29, 2018 23:58
Show Gist options
  • Save gris-gris/67239cdadee2ffce08aefd7eba35704c to your computer and use it in GitHub Desktop.
Save gris-gris/67239cdadee2ffce08aefd7eba35704c to your computer and use it in GitHub Desktop.
Install docker 17.03.2 on Centos 7
#!/bin/bash
sudo yum install -y yum-utils \
device-mapper-persistent-data \
lvm2
sudo yum-config-manager \
--add-repo \
https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install docker-ce -y
sudo systemctl start docker
sudo systemctl enable docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment