Playing With a LED in a Raspberry Pi
Fleetingsee docker Access to Raspberry Pi GPIO Pins
docker run --device /dev/gpiomem --rm -ti konubinix/raspy:0.1.0
See https://gpiozero.readthedocs.io/en/stable/
I plugged the LED
from gpiozero import LED ; led = LED(4) ; led.on()
led.on()
led.off()