==> default: Box 'bento/centos-6.8' could not be found. Attempting to find and install... default: Box Provider: virtualbox default: Box Version: >= 0 The box 'bento/centos-6.8' 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/centos-6.8"] Error: The requested URL returned error: 404 Not Found
上記のエラーが出てしまい進むことができません。
わかるかたおたすけください。
8 Vagrant.configure("2") do |config| 9 # The most common configuration options are documented and commented below. 10 # For a complete reference, please see the online documentation at 11 # https://docs.vagrantup.com. 12 13 # Every Vagrant development environment requires a box. You can search for 14 # boxes at https://atlas.hashicorp.com/search. 15 config.vm.box = "bento/centos-6.8" 16 end
box削除ごのupのエラー
Bringing machine 'default' up with 'virtualbox' provider... ==> default: Box 'bento/centos-6.8' could not be found. Attempting to find and install... default: Box Provider: virtualbox default: Box Version: >= 0 The box 'bento/centos-6.8' 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/centos-6.8"] Error: The requested URL returned error: 404
社内LAN等プロキシがかまされている環境ですか?
おそらく入っていません。
該当ディレクトリまでcdで移動して、vagrant box listを打ってエラーがでるか教えてください。
エラーがでず ubuntu/trusty32 (virtualbox, 20171208.0.0) のようなメッセージが出ます。 他のディレクトリでrailsを開発しているため使っていました。
boxを削除し、再インストールして、再度同じ手順で進めてみてください
残念ながらそれでも同じようなエラーが出てしまいます。
vagrantとvirtualboxのバージョンを追記ください。
https://teratail.com/questions/24625 このURLが参考になるかもしれません。
一回これで試してみてください。
Vagrant 1.8.6 バージョン 5.1.6です。 よろしくお願いします。
URL: ["https://atlas.hashicorp.com/bento/centos-6.8"] ここがないのが問題なのかと思っています。
現状諦めてローカル環境でhomebrewが入っているのでそっちで開発できないか探そうかなと思ってます。。。そちらの方でPHPの開発できるいい方法教えていただけませんか?
いやもうちょっと解決に向けて頑張りましょうよ
本当にすみません。。。いろいろ調べているのですが解決に至らなくて。
回答2件
あなたの回答
tips
プレビュー