Skip to content

Instantly share code, notes, and snippets.

@datawebbie
Created October 29, 2014 22:34
Show Gist options
  • Select an option

  • Save datawebbie/d2f5aa3631d512d3719c to your computer and use it in GitHub Desktop.

Select an option

Save datawebbie/d2f5aa3631d512d3719c to your computer and use it in GitHub Desktop.
Creating agile development environment with Vagrant and Docker.
# Install VirtualBox from official website - https://www.virtualbox.org/wiki/Downloads
# Download Vagrant and install - http://www.vagrantup.com/downloads.html
# Do normall App install on Mac for both
# Download Vagrant box images from here - http://www.vagrantbox.es/
# Or use local boxes if you already have them
# Adding vg alias to ~/.bash_profile
alias vg='vagrant'
# Creating new box from current VirtualBox image
vagrant package --base name-of-the-virtual-box-shown-in-VirtualBox --output output-file-name-include-dot-box-extension
# Add the box and up
vagrant box list
vagrant box add boxname url
mkdire vgproject
cd vgproject
vagrant init
# Edit Vagrantfile to setup
vagrant up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment