--- version: '3' services: server: build: . image: zebra-sdk-poc:latest network_mode: host privileged: true devices: # remove if you dont need to share your graphics card explicitely - /dev/dri:/dev/dri - /dev/snd:/dev/snd - /dev/hidraw0:/dev/hidraw0 - /dev/hidraw1:/dev/hidraw1 volumes: - /tmp/.X11-unix:/tmp/.X11-unix - /dev/bus/usb:/dev/bus/usb:rw environment: - NODE_ENV=development - DISPLAY=:0