Closed sergeyerofeev closed 2 years ago
I am no very popular with docker, but docker is a conatiner environement for encapsulating SW. The exception indicates that the container can not access the hardware. For direct hardware access you must run the conatainer with more rights.
docker run --privileged -d whatever
https://stackoverflow.com/questions/30059784/docker-access-to-raspberry-pi-gpio-pins
I didn't even think about the lack of rights when accessing hardware. My mistake. Thank you for the quick solution of the problem.
Hi. When launching an application from a Docker container, I get an exception.
Raspberry Pi 3 Model B Rev 1.2
led.dart file for example:
I add a file to the project libperiphery_arm64.so to then copy it to the Docker image.
Creating a Dockerfile:
Creating an image:
Launching the container:
As a result, I get an exception:
Thank you for your help