Skip to content

Instantly share code, notes, and snippets.

@arcezd
Created February 25, 2019 20:02
Show Gist options
  • Save arcezd/b1f66f52003f0eb788a69db0f033539b to your computer and use it in GitHub Desktop.
Save arcezd/b1f66f52003f0eb788a69db0f033539b to your computer and use it in GitHub Desktop.
Install docker to CentOS7
#!/bin/bash
yum -y update
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 docker-ce-cli containerd.io
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