In this tutorial, we’ll show you how simple it is to deploy the popular messaging middleware app, RabbitMQ onto a Raspberry Pi 3 using the Pantacor Hub.
Please note that there is now a new website for Pantavisor Linux at pantavisor.io. You’ll find new tutorials as well as instructions on how to use Pantabox, our front-end for managing Pantavisor Linux locally on your device without the need to connect to Pantacor Hub.
Prepare your RPi3 device ready to deploy RabbitMQ:
Step 1: Flash the RPI3 initial stable image into your sd card.
Download Raspberry Pi 3 image:
unxz the device image with:
$ unxz rpi3_initial_stable.img.xz
Flash the image onto your sd card using Raspberry Pi Imager.

Step 2: Boot your Raspberry Pi 3
Insert your sd card and then supply power.

Step 3: Sign up for Pantacor Hub
Step 4: Download and install the `pvr` CLI
Note: pvr is a CLI that allows you to interact with your device through Pantacor Hub image sharing platform. With the pvr command line interface you can share and revision your firmware and projects as if they were in a git tree. Move the pvr binary to your bin folder after you have download it.
Linux(AMD64): Download Linux(ARM32v6): Download Darwin(AMD64): Download
pvr clone; pvr commit; pvr post
To install from github source code:
$ go get gitlab.com/pantacor/pvr
$ go build -o ~/bin/pvr gitlab.com/pantacor/pvr
Note: You need “GOLANG” to be installed in your system for building pvr from github source code.
Step 5: Detect and claim your device
Connect a LAN cable between your RPI3 & computer/Router.

Open your terminal & run
$ pvr scan

Claim your device
$ pvr claim -c merely-regular-gorilla https://api.pantahub.com:443/devices/5f1b9c44e193a5000afa9901

Log into Pantacor Hub and check for the newly claimed device in the dashboard.


Step 6: Clone the device to your computer using the Clone URL of your device
$ pvr clone https://pvr.pantahub.com/sirinibin/presently_learning_pelican/0 presently_learning_pelican

Now your device is ready to deploy your RabbitMQ app
Deploy RabbitMQ onto the device
Step 1: Move to device root dir
`$ cd presently_learning_pelican`
Step 2: Add a new app “rabbitmq” into the device
sirinibin/arm32v7-rabbitmq:3.8.6-rc.1
is a Docker image made for the devices with ARM32 architecture
You can customise the docker image for your custom requirements.
$ pvr app add rabbitmq --from=sirinibin/arm32v7-rabbitmq:3.8.6-rc.1

Step 3: Commit and post the changes to the device
$ pvr add .
$ pvr commit
$ pvr post

Step 4: Check the device status changes in the Pantacor Hub dashboard and wait for the status “DONE”
Status 1:
Status 2:
Status 3: Status 4:
Step 5: Verify the “rabbitmq” app deployment
Access the device IP: http://10.42.0.231:15672 in your web browser.
Login guest/guest
You are done!
Final Thoughts
In this tutorial, we described how to deploy a containerized version of RabbitMQ into your Pantavisor-enabled device. Pantavisor doesn’t run Docker containers natively, but it does use Docker images as a great source of root file systems for containers that are run by the Pantavisor with LXC.
Take a deeper dive into managing Pantavisor Linux with Pantabox.
We’re really excited for you to try Pantabox and Pantavisor Linux and we’d love to hear your thoughts. Try one of the guides or join us in the Pantavisor community forum.