Vagrant: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
(Created page with "<syntaxhighlight lang="bash"> vagrant box add {title} {url} vagrant init {title} vagrant up vagrant halt </syntaxhighlight> * [https://app.vagrantup.com/boxes/search?utf8=%E...")
 
No edit summary
Line 1: Line 1:
==Info==
<syntaxhighlight lang="bash">
brew cask info virtualbox
brew cask info vagrant
brew cask info vagrant-manager
</syntaxhighlight>
==Install==
<syntaxhighlight lang="bash">
brew cask install virtualbox
brew cask install vagrant
brew cask install vagrant-manager
</syntaxhighlight>
==Syntax==
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
vagrant box add {title} {url}
vagrant box add {title} {url}
vagrant init {title}
vagrant init {title}
</syntaxhighlight>
==Example==
<syntaxhighlight lang="bash">
vagrant box add hashicorp/precise64 https://app.vagrantup.com/hashicorp/boxes/precise64
vagrant init hashicorp/precise64
vagrant up
vagrant up
vagrant ssh
vagrant halt
vagrant halt
</syntaxhighlight>
</syntaxhighlight>


 
==References==
* [https://app.vagrantup.com/boxes/search?utf8=%E2%9C%93&sort=&provider=virtualbox&q=windows+xp Discover Vagrant Boxes]
* [https://app.vagrantup.com/boxes/search?utf8=%E2%9C%93&sort=&provider=virtualbox&q=windows+xp Discover Vagrant Boxes]
* [https://www.vagrantup.com/intro/vs/terraform.html Vagrant vs. Terraform]
* [http://www.vagrantbox.es/  A list of base Boxes]
* [http://www.vagrantbox.es/  A list of base Boxes]
* [https://app.vagrantup.com/rogeriopradoj/boxes/xp-ie8 Example Vagrantfile]
* [https://app.vagrantup.com/rogeriopradoj/boxes/xp-ie8 Example Vagrantfile]
* [https://www.vagrantup.com/intro/vs/docker.html Vagrant vs. Docker]
* [https://www.vagrantup.com/intro/vs/docker.html Vagrant vs. Docker]
* [https://www.vagrantup.com/intro/getting-started/index.html Getting Started]

Revision as of 00:14, 13 October 2018

Info

brew cask info virtualbox
brew cask info vagrant
brew cask info vagrant-manager

Install

brew cask install virtualbox
brew cask install vagrant
brew cask install vagrant-manager

Syntax

vagrant box add {title} {url}
vagrant init {title}

Example

vagrant box add hashicorp/precise64 https://app.vagrantup.com/hashicorp/boxes/precise64
vagrant init hashicorp/precise64
vagrant up
vagrant ssh
vagrant halt

References