version: '2' services: satellite: build: context: $PWD/ dockerfile: Dockerfile.satellite volumes: - /tmp/.X11-unix:/tmp/.X11-unix - /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime network_mode: "host" privileged: true ports: - "7400:7400" tty: true environment: - DISPLAY:$DISPLAY ipc: "host" pid: "host" command: /bin/bash -c "cd /root/Satellite/build && ./main"