21 lines
425 B
YAML
21 lines
425 B
YAML
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
|
|
- /dev/input:/dev/input
|
|
- /dev/shm:/dev/shm
|
|
- /dev:/dev
|
|
environment:
|
|
- DISPLAY=${DISPLAY}
|
|
- QT_X11_NO_MITSHM=1
|
|
runtime: nvidia
|
|
stdin_open: true
|
|
tty: true
|
|
ipc: host |