version: "3" services: app: image: ubuntu-gui build: . environment: - DISPLAY=${DISPLAY} volumes: - /tmp/.X11-unix:/tmp/.X11-unix network_mode: host hostname: ubuntu