Short answer: Yes, QEMU can be used to run Raspberry Pi images and vagrant can run QEMU.
The article you link to uses a pre-configured QEMU image, I assume (because I’ve not looked) that it contains a replacement Linux Kernel. However, you should be able to build and deploy docker containers on such an image and then deploy those on your target RaspPi system without change.
Personally, I would use a headless/non-GUI Raspberry Pi image (no point including all the GUI garbage unless you need it).
Having played with this QEMU/raspbian setup in the past (I used this as my starting point), I can tell you it all worked when I was playing with it (some time ago though). The script is a useful starting point for understanding how to override the raspbian kernel when starting it using QEMU.
As for using vagrant, it’s been a while, but IIRC, you can use this to get QEMU as a vagrant provider (mediated by libvirt).
On 11 Apr 2019, at 23:27, Aidan Macdonald wrote:
I have an application that involves Raspberry Pi Zero nodes running some Docker containers from Balena. It appears that VMWare and Virtualbox can emulate a Raspberry Pi using QEMU.Would Vagrant be capable of spinning up the Raspberry Pi emulator and launching Docker containers using docker compose? Would it be capable of subsequently deploying to real Raspberry Pi's?
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/40d87294-a854-42f9-818b-e0b1b889ad02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I have an application that involves Raspberry Pi Zero nodes running some Docker containers from Balena. It appears that VMWare and Virtualbox can emulate a Raspberry Pi using QEMU.Would Vagrant be capable of spinning up the Raspberry Pi emulator and launching Docker containers using docker compose? Would it be capable of subsequently deploying to real Raspberry Pi's?
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/40d87294-a854-42f9-818b-e0b1b889ad02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
hellogot a question:say you get this up and running, how you plan to use it from vagrant?being docker available over the network, if you can spin the emulator, and expose the docker daemon, then you can just use it.Not sure how vagrant fits here on this particular scenario.if running this without vagrant seems to be documented, perhaps is easier/simpler that way?Alvaro.
On Fri, Apr 12, 2019 at 12:27 AM Aidan Macdonald <aidan.plen...@gmail.com> wrote:
I have an application that involves Raspberry Pi Zero nodes running some Docker containers from Balena. It appears that VMWare and Virtualbox can emulate a Raspberry Pi using QEMU.--Would Vagrant be capable of spinning up the Raspberry Pi emulator and launching Docker containers using docker compose? Would it be capable of subsequently deploying to real Raspberry Pi's?
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/40d87294-a854-42f9-818b-e0b1b889ad02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Alvaro