最終更新:2022-09-06 (火) 14:53:30 (598d)  

vagrant
Top / vagrant

$ vagrant box add centos URL
$ vagrant init centos
$ vagrant up

$ vagrant init precise32 http://files.vagrantup.com/precise32.box
$ vagrant up
Usage: vagrant [-v] [-h] command [<args>]

    -v, --version                    Print the version and exit.
    -h, --help                       Print this help.

Available subcommands:
     box
     destroy
     halt
     help
     init
     package
     plugin
     provision
     reload
     resume
     ssh
     ssh-config
     status
     suspend
     up

vagrant init?

  • initializes a new Vagrant environment by creating a Vagrant file
  • Atlasからダウンロード
    vagrant init [box-name] [box-url]

vagrant up

vagrant box

  • vagrant box add?
    vagrant box add <name> <url>
  • vagrant box list?
  • vagrant box remove?
  • vagrant box repackage?