Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 655 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 655 Bytes

busylight-docker

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.

Buildng the container image

  1. Clone this repository.
  2. Inside the directory for this repository, run:
    docker build -t busylight-docker .

Running the container

  1. 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/)