Created
July 2, 2014 14:09
-
-
Save include/54d519c24327a7a9bb87 to your computer and use it in GitHub Desktop.
homebrew > cask > Virtualbox > Vagrant > CentOS > Docker > Ubuntu
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
#homebrew > cask > Virtualbox > Vagrant > CentOS > Docker > Ubuntu | |
$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" | |
$ brew tap caskroom/homebrew-cask | |
$ brew install brew-cask | |
$ brew cask install virtualbox | |
$ brew cask install vagrant | |
$ brew tap homebrew/completions | |
$ brew install vagrant-completion | |
$ vagrant box add centos65 https://github.com/2creatives/vagrant-centos/releases/download/v6.5.3/centos65-x86_64-20140116.box | |
$ vagrant init centos65 | |
$ vagrant up | |
$ vagrant ssh | |
# wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
# rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm | |
# yum --enablerepo=epel -y install docker-io | |
# chkconfig docker on | |
# service docker start | |
# docker pull ubuntu | |
# docker run -it --rm ubuntu /bin/bash | |
~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not sure you need a lot of the last part… See https://www.vagrantup.com/blog/feature-preview-vagrant-1-6-docker-dev-environments.html