[pulseaudio-discuss] Pulseaudio inside docker container

Gino Lisignoli glisignoli at gmail.com
Tue Dec 8 18:37:22 UTC 2020

I've been trying to create a lightweight docker container that runs a
single application with wine and xvfb, except the application requires
pulseaudio otherwise it crashes. Specifically with the error:

Assertion 'clock_gettime(CLOCK_REALTIME, &ts) == 0' failed at
pulsecore/core-rtclock.c:93, function pa_rtclock_get(). Aborting.

I'm using the following startup script:

  .include /etc/pulse/default.pa
  load-module module-native-protocol-unix auth-anonymous=1

Then starting pulseaudio with:
pulseaudio -v --start --log-target=file:/root/pulse.log

One line that seems relevant to me is:
I: [null-sink] util.c: Failed to acquire real-time scheduling:
Input/output error

That's as far as I have gotten. If  there any ideas on how I could
troubleshoot this that would be awesome. Thanks!

More information about the pulseaudio-discuss mailing list