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

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

More than 3 years have passed since last update.


ISUCON7の予選問題で使うUbuntu 16.04がThe box 'bento/ubuntu-16.04' could not be foundとなる時の対応

ISUCON7の予選問題に沿って環境を作ろうとした際に、Ubuntu 16.04の環境構築でエラーが出たのでそれについて調べた内容のまとめ


Vagrant に VirtualBox 用の Ubuntu 16.04 LTS の box を入れる方法を参考にコマンドを実行したところ下記のエラーが出た
タイトルにあるように、could not be foundとなっている

$ vagrant init bento/ubuntu-16.04
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'bento/ubuntu-16.04' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
The box 'bento/ubuntu-16.04' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://atlas.hashicorp.com/bento/ubuntu-16.04"]
Error: The requested URL returned error: 404 Not Found



The Trellis docs say that “Vagrant >= 1.8.5” is required

“The box ‘bento/ubuntu-16.04’ could not be found” error when spinning up a new Trellis project


$ vagrant -v
Vagrant 1.7.4


Mac で vagrant をバージョンアップするを参考に一番新しいバージョンに変更

$ vagrant -v
Vagrant 2.0.3
$ vagrant plugin repair


$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'bento/ubuntu-16.04'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'bento/ubuntu-16.04' is up to date...
==> default: Setting the name of the VM: isucon_default_1523664078122_50761
==> default: Fixed port collision for 22 => 2222. Now on port 2201.

isucon7の環境を作る場合にはallinone (ALL in One) 用 Playbookがあるので、こちらで作成をすると楽です

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
Help us understand the problem. What are the problem?