Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
2
Help us understand the problem. What are the problem?

More than 3 years have passed since last update.

@hijion

Vagrant 基本1 前準備とBOXについて

概要

Vagrant を初めて使うこととなったので
何回かに分けて手順や備忘録や気になったことを記載していきます

Vagrant Box の取得方法

$ vagrant box add precise32 http://files.vagrantup.com/precise32.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'precise32' (v0) for provider:
box: Downloading: http://files.vagrantup.com/precise32.box
box: Download redirected to host: hashicorp-files.hashicorp.com
==> box: Successfully added box 'precise32' (v0) for 'virtualbox'!

  • precise は Ubuntu のOSのバージョン名
  • 32は32ビットの意味を表す

Vagrant Box の一覧を見る

$ vagrant box list
precise32 (virtualbox, 0)

他のVagrant Box を取得する

Vagrant Box のリンク一覧

Vagrant box 削除

$ vargrint remove

Vagrant box ヘルプ

$ vagrant box -help
Usage: vagrant box []

Available subcommands:
add
list
outdated
prune
remove
repackage
update

For help on any individual subcommand run vagrant box <subcommand> -h

boxはホームフォルダの ~./vagrant.d/boxes の下に格納される

- ここにキャッシュされていく

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
2
Help us understand the problem. What are the problem?