Last active
April 10, 2017 13:04
-
-
Save w4tson/f65db6563e0767ec64cd2e32973dd89e to your computer and use it in GitHub Desktop.
This file contains 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
#setup target VM, DONT use docker, the fakesystemd throws things off | |
vagrant init bento/centos-7.1 | |
vagrant ssh | |
#Add in your repo e.g: | |
sudo tee /etc/yum.repos.d/docker.repo <<-'EOF' | |
[dockerrepo] | |
name=Docker Repository | |
baseurl=https://yum.dockerproject.org/repo/main/centos/7/ | |
enabled=1 | |
gpgcheck=1 | |
gpgkey=https://yum.dockerproject.org/gpg | |
EOF | |
#These resolve the RPMs to the current directory | |
sudo yum install -y yum-utils | |
yuminstaller --resolve docker-engine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment