You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i try to flash esp8266 inside docker container, i get "Permission denied: '/dev/ttyUSB0'". i am on Manjaro ( Arch Linux ).
I think it has something to do with group id mismatch between Arch linux (host) and docker container (ubuntu?). On Arch usb devices are in group uucp with id 986 and inside docker-container it is dialout with id 20.
A dirty workaround is to enter docker container with root access --user=root
sudo docker run -it --rm --user=root --device=/dev/ttyUSB0 -v $(pwd)/esp_wifi_repeater:/home/esp/esp_wifi_repeater martinfger/iot_devel:1.0
A proper fix would be great :)
Greetings
The text was updated successfully, but these errors were encountered:
when i try to flash esp8266 inside docker container, i get "Permission denied: '/dev/ttyUSB0'". i am on Manjaro ( Arch Linux ).
I think it has something to do with group id mismatch between Arch linux (host) and docker container (ubuntu?). On Arch usb devices are in group uucp with id 986 and inside docker-container it is dialout with id 20.
A dirty workaround is to enter docker container with root access --user=root
sudo docker run -it --rm --user=root --device=/dev/ttyUSB0 -v $(pwd)/esp_wifi_repeater:/home/esp/esp_wifi_repeater martinfger/iot_devel:1.0
A proper fix would be great :)
Greetings
The text was updated successfully, but these errors were encountered: