Dockerfile to build a busylight
container.
Make sure to add the --device=/dev/bus
flag to your docker run
command to allow access to USB devices.
- Clone this repository.
- Inside the directory for this repository, run:
docker build -t busylight-docker .
- Run the following command:
docker run -d --device=/dev/bus -p 8080:8080 busylight-docker:latest
Explanation: adding the --device=/dev/bus
flag allows the container to access USB devices (located under /dev/bus/
)