Proof of Concept - how to Dockerize your next IOT project with Johnny-five
This POC was built to support the article Dockerize Javascript IOT Applications.
Build the Docker image:
docker build -t blink .
Run the Docker image:
docker run --device=/dev/ttyUSB --privileged -it blink
Note: In my case the USB device was connected in /dev/ttyUSB0
, but you can check yours with this guide