Public Repository

Last pushed: a year ago
Short Description
Arduino IDE v1.8.1 on the Raspberry Pi.
Full Description

Arduino IDE Dockerfile

This repository contains Arduino IDE on the Raspberry Pi.
The Arduino IDE will connect to an external X11 Server for which the DISPLAY variable must be provided.

Additional support for the following Arduino-like Add-On Boards

Preparation on the Raspberry Pi docker host

For Alamode

sed -i'.bak' -e's/console=ttyAMA0,115200.//' -e's/console=serial0,115200.//' -e's/kgdboc=tty.*00.//' /boot/cmdline.txt
systemctl stop serial-getty@ttAMA0.service
systemctl disable serial-getty@ttyAMA0.service

Base Docker Image


  1. Install Docker.

  2. Download image from public Docker Hub Registry:
    docker pull frankwolf/rpi-arduino


Build rpi-arduino

docker build -t frankwolf/rpi-arduino .

Run rpi-arduino

Provide the X11 display server where the program should be shown with the DISPLAY environment variable
Use the mountpoint \data if you want to provide some existing code over volume mountpoints.

  • Run with original avrdude provided by Arduino IDE
    docker run -d --rm -v /path/to/sketchbook:/data -e DISPLAY= -e BOARD=orig --device /dev/ttyAMA0 --device /dev/mem --cap-add SYS_RAWIO frankwolf/rpi-arduino
  • Alamode
    docker run -d --rm -v /path/to/sketchbook:/data -e DISPLAY= -e BOARD=alamode --device /dev/ttyAMA0 --device /dev/mem --cap-add SYS_RAWIO frankwolf/rpi-arduino
  • GertDuino / Gertboard
    docker run -d --rm -v /path/to/sketchbook:/data -e DISPLAY= -e BOARD=gertboard -v /sys:/sys --cap-add SYS_RAWIO --device /dev/mem frankwolf/rpi-arduino
Docker Pull Command