I'm running a host of docker containers with ROS, for controlling a robot. One of the container has to play some audio files through the sound_play
package. However it returns the error
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
I am able to aplay
the audio (.wav) files from inside the container, my sound cards are definitely recognized, and I have also tried running the container in privileged mode. I have also tried to install jackd
separately in the container and start a jack server, but get the error
Cannot lock down 82274202 byte memory area (Cannot allocate memory).
Bus error (core dumped)
Is my understanding of the problem even correct? If so, how can I get jack server to start inside the container?