A simple Docker container for controlling PiFace on RPi
930
A simple Docker container for controlling PiFace on RPi
Docker Hub : https://hub.docker.com/r/epicblox/node-piface/

sudo modprobe spi-bcm2835 (or enable SPI from raspi-config)--name piface \
--hostname piface \
--cap-add ALL \
-v /lib/modules:/lib/modules \
-v /sys:/sys \
-e PIFACE_COUNT=1 \
--device /dev/spidev-0.0:/dev/spidev-0.0 \
--device /dev/mem:/dev/mem \
-p 80:80\
--privileged -d epicblox/node-piface```
If you have more than 1 PiFace card, you must ajust PIFACE_COUNT and add correct divices in docker run command.
Access test page with http://pi-ip/ in web browser.
Content type
Image
Digest
Size
179.2 MB
Last updated
over 8 years ago
docker pull epicblox/node-piface