首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Vagrant box不支持提供商parallels (需要使用parallels而不是采用m1芯片的virtualbox )

Vagrant box不支持提供商parallels (需要使用parallels而不是采用m1芯片的virtualbox )
EN

Stack Overflow用户
提问于 2021-06-15 17:41:38
回答 1查看 637关注 0票数 0

我怎样才能用一个支持parallels作为提供商的盒子来取代这个流浪汉盒子呢?我需要parallels,因为virtualbox不能在m1 macs上工作。

我已经按照以下说明安装了适用于vagrant https://kb.parallels.com/en/122843的parallels插件

代码语言:javascript
复制
Bringing machine 'forge_offers_core' up with 'parallels' provider...
==> forge_offers_core: Box 'damianlewis/lamp-php7.1' could not be found. Attempting to find and install...
    forge_offers_core: Box Provider: parallels
    forge_offers_core: Box Version: >= 0
==> forge_offers_core: Loading metadata for box 'damianlewis/lamp-php7.1'
    forge_offers_core: URL: https://vagrantcloud.com/damianlewis/lamp-php7.1
The box you're attempting to add doesn't support the provider
you requested. Please find an alternate box or use an alternate
provider. Double-check your requested provider to verify you didn't
simply misspell it.

If you're adding a box from HashiCorp's Vagrant Cloud, make sure the box is
released.

Name: damianlewis/lamp-php7.1
Address: https://vagrantcloud.com/damianlewis/lamp-php7.1
Requested provider: [:parallels]

Vagrantfile中的代码

代码语言:javascript
复制
Vagrant.configure("2") do |config|
  config.vm.box = "damianlewis/lamp-php7.1"
EN

回答 1

Stack Overflow用户

发布于 2021-06-18 04:03:13

您需要在虚拟机中搜索您将使用的提供商(在您的案例中为Parallels) https://app.vagrantup.com/boxes/search?order=desc&page=0&provider=parallels&sort=created

如果你找不到一个符合你需要的,你需要自己去构建一个(例如使用packer )

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/67983808

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档