2024-10-01 05:40:09 +08:00
|
|
|
version: "3.9"
|
|
|
|
services:
|
|
|
|
go2py:
|
|
|
|
build: .
|
|
|
|
# container_name: go2py
|
|
|
|
network_mode: host
|
|
|
|
privileged: true
|
|
|
|
command: bash
|
|
|
|
volumes:
|
|
|
|
- /tmp/.X11-unix:/tmp/.X11-unix
|
|
|
|
- ../:/home/Go2py
|
2024-10-04 03:22:46 +08:00
|
|
|
- /dev/input:/dev/input
|
2024-10-01 05:40:09 +08:00
|
|
|
environment:
|
|
|
|
- DISPLAY=${DISPLAY}
|
|
|
|
- QT_X11_NO_MITSHM=1
|
2024-10-02 02:45:06 +08:00
|
|
|
runtime: nvidia
|
2024-10-01 05:40:09 +08:00
|
|
|
stdin_open: true
|
|
|
|
tty: true
|