Audio input and output support

I am working on a voice chatbot. I created a container and a docker image. When running this image i get an error of device input audio and output. I am beginner and i want to know how to access the microphone to record an audio and to output an audio with docker. I found a linux command but i have a windows system on my machine.
pls help !!!

If you run Docker in Windows, you probably use Docker Desktop, which runs containers inside a Linux VM.

So you need to bridge your audio device first into the VM, then into the container.

Why don’t you use the available soundboard instead of using AI voice?