Run python main.py with docker after uploading sketch

It is possible to run python:main.py with docker after uploading sketch at the terminal without virtual environment (without arduino package):

Goto inside of PJT:

~ $ cd blink
~ $ arduino-cli compile --fqbn arduino:zephyr:unoq --upload sketch
...
~ $ docker run -d -it --rm \
  --name app \
  -v $(pwd):/app \
  -v /run/arduino-router.sock:/run/arduino-router.sock \
  --network host \
  --privileged \
  -w /app \
  ghcr.io/arduino/app-bricks/python-apps-base:0.9.0 \
  && docker logs -f app

then we can see messages from docker and python:

e2909b79b63a232016ba787d43aeb2f0b6ba6001dd7d32bc9822eb78a4c748f2
======== App is starting ============================
rx : reset count
2026-05-17 05:45:30.865 INFO - [MainThread] App:  App started
rx :    1 set_led_state called
rx :    2 set_led_state called
rx :    3 set_led_state called
rx :    4 set_led_state called
rx :    5 set_led_state called
rx :    6 set_led_state called
rx :    7 set_led_state called
rx :    8 set_led_state called
rx :    9 set_led_state called
rx :   10 set_led_state called
rx :   11 set_led_state called
rx :   12 set_led_state called
rx :   13 set_led_state called
rx :   14 set_led_state called
rx :   15 set_led_state called
rx :   16 set_led_state called
rx :   17 set_led_state called
...

we can stop by docker stop app command

Have a fun!!!

docker run -d -it --rm \
  --name app \
  -v $(pwd):/app \
  -v /run/arduino-router.sock:/run/arduino-router.sock \
  --network host \
  --privileged \
  -w /app \
  ghcr.io/arduino/app-bricks/python-apps-base:0.9.0 \
  /run.sh && docker logs -f app

=>

docker run -d -it --rm \
  --name app \
  -v $(pwd):/app \
  -v /run/arduino-router.sock:/run/arduino-router.sock \
  --network host \
  --privileged \
  -w /app \
  ghcr.io/arduino/app-bricks/python-apps-base:0.9.0 \
  && docker logs -f app

/run.sh removed