geaxgx / tello-humanpose-openvino

Using human pose estimation to pilot a Tello drone. Relying on OpenVINO toolkit, runs on Intel CPU.
33 stars 7 forks source link

cannot run on wsl2 #2

Open kenton2000 opened 2 years ago

kenton2000 commented 2 years ago

when I run the command " docker run -it --rm -e DISPLAY=${DISPLAY} -v /tmp/.X11-unix:/tmp/.X11-unix --network host --device /dev/snd -e PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native -v ${XDG_RUNTIME_DIR}/pulse/native:${XDG_RUNTIME_DIR}/pulse/native -v ~/.config/pulse/cookie:/root/.config/pulse/cookie -v $PICTURE_DIR:/work/pictures --name tello geaxgx/tello_humanpose_openvino:latest "

The terminal raise the error "docker: Error response from daemon: error gathering device information while adding custom device "/dev/snd": no such file or directory."

But my wsl2 has installed xubuntu.

geaxgx commented 2 years ago

I am not familiar with WSL, but it seems that /dev/snd is not available on WSL. Maybe you can try the solution proposed there: https://stackoverflow.com/questions/68310978/playing-sound-in-docker-container-on-wsl-in-windows-11