Closed Apollorion closed 1 year ago
I was able to get this working by setting privileged: true
on the container.
FWIW, it may be useful to publish this container for other folks to use as a layer to build upon. It works perfectly in Kubernetes for me, and containerizing this library would make implementation super easy for additional folks IMO.
I also now have a full working example here, if anyone is interested: https://github.com/Apollorion/led-project
I am able to run this project directly on a raspberry pi, but I would prefer to run it in a docker container in kubernetes (microk8s, ubuntu 21.04, using the same raspberry pi as mentioned before just in a container this time). Is this even possible for one?
This is my dockerfile:
It builds fine and seems to run, until I call
matrix.CreateFrameCanvas()
matrix is setup as such:
The kubernetes deployment is:
I dont get a stack trace or anything, once it hits that
matrix.CreateFrameCanvas()
my container just stops. Is there an environment variable or something I can add to get some debug information on what is happening?