I am using host Ubuntu 16.0.4 system to run my lxc container. I uninstalled
pulseaudio as I wanted to use ALSA directly.
After uninstalling pulseaudio from the host machine, I was able to play
sounds using the command like one below(on host machine):
aplay /usr/share/sounds/alsa/Rear_Right.wav
I have created lxc container of our custom toolchain that has many
packages. Related to graphics, I have installed nvidia 367.27 driver using
the nvidia installer inside this container(called mk7icontainer)
The nvidia driver libraries/binaries are installed at path
/usr/share/nvidia path
inside