Is there a Vagrant box that simulates a Raspberry Pi?

Bertus Kruger picture Bertus Kruger · Dec 2, 2015 · Viewed 11.4k times · Source

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.

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 :)

Answer

antoine picture antoine · Dec 15, 2016

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.

Look here for a quick setup : https://gist.github.com/Manu343726/ca0ceb224ea789415387

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