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
sudo systemctl start docker
sudo systemctl enable docker
usermod -aG docker jenkins
# note that the jenkins user will have to reconnect / start a new shell session for this change to be picked up.
Last active
December 3, 2018 09:22
-
-
Save gsaslis/26ecd11a21e7cf0ef76d7a9faf7a9ebe to your computer and use it in GitHub Desktop.
Docker CE for Centos
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment