Created
August 25, 2020 11:21
-
-
Save rooftop90/56f0ee1646b8dc151f639c9f47185b5f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################ | |
# Shell script for basic docker setup | |
# sets up v. 18.09.2-3.el7 | |
############################################ | |
# add repo | |
sudo curl -SsL https://download.docker.com/linux/centos/docker-ce.repo -o /etc/yum.repos.d/docker-ce.repo | |
# install specific docker version | |
yum install -y docker-ce-18.09.2-3.el7 | |
## enable and start docker | |
systemctl enable docker && systemctl start docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment