是否有模拟 Raspberry Pi 的 Vagrant box? [英] Is there a Vagrant box that simulates a Raspberry Pi?
问题描述
我正在考虑评估用于使用 Raspberry Pi 编程 ARM 芯片的工具链,并且我想运行一个模拟 Raspberry 环境的 Vagrant 盒子.
I am looking at evaluating a tool-chain for programming ARM chips with a Raspberry Pi and I would like to run a Vagrant box that simulates a Raspberry Environment.
有谁知道这样的东西是否可用?(我已经在网上搜索了解决方案,但我可能向 Google 提出了错误的问题:)
Does anyone know if something like that is available? (I have searched online for a solution but I might be asking Google the wrong questions :)
推荐答案
没有 Vagant box 来模拟 RPi,因为正如 @Cerin 所说,Virtual Box(Vagrant 使用的)不支持 Rapsberry Pi 架构(ARM).但是有一个 docker 可以为在 qemu 上运行的 Raspbian 镜像提供一个 shell.
There is no Vagant box to simulate the RPi because as @Cerin said Virtual Box (which Vagrant uses) doesn't support Rapsberry Pi architecture (ARM). But there is a docker that provide a shell to a Raspbian image running on qemu.
在这里查看快速设置:https://gist.github.com/Manu343726/ca0ceb224ea789415387一个>
请注意,本指南是为 arch linux 制作的.您可以对 debian/ubuntu 使用 sudo apt install
Note that this guide is made for arch linux. You can do the same with debian/ubuntu changing yaourt -S
call with sudo apt install
这篇关于是否有模拟 Raspberry Pi 的 Vagrant box?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!