Hi,
@jfrazelle:
first of all: Thank you very much for these Dockerfiles - they're fantastic! 馃憦
My problem is related to running the Chrome Docker container without having sound inside the container. I run the container with:
docker run -it \
--rm \
--net host \
--cpuset-cpus 0 \
--memory 512mb \
-v /tmp/.X11-unix:/tmp/.X11-unix \
--device /dev/snd \
-e DISPLAY=unix$DISPLAY \
--name chrome \
my/jfrazelle_chrome:2015-11-28
I get following errors as soon as Chrome tries to access the sound device (browsing to youtube.com, for example):
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4260:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4260:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4260:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4739:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2267:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4260:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4260:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4260:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4739:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2267:(snd_pcm_open_noupdate) Unknown PCM default
I run Docker v1.9.1 build a34a1d5 on Ubuntu 14.04.3 LTS.
Some more information gathered inside the Chrome container:
root@godock:/# cat /proc/asound/cards
1 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf7418000 irq 65
root@godock:/# cat /proc/asound/modules
1 snd_hda_intel
root@godock:/# cat /proc/asound/devices
1: : sequencer
2: [ 1- 0]: digital audio playback
3: [ 1- 0]: digital audio capture
4: [ 1- 0]: hardware dependent
5: [ 1] : control
33: : timer
Any help would be much appreciated.
Best,
Andreas
Hi,
@jfrazelle:
first of all: Thank you very much for these Dockerfiles - they're fantastic! 馃憦
My problem is related to running the Chrome Docker container without having sound inside the container. I run the container with:
I get following errors as soon as Chrome tries to access the sound device (browsing to youtube.com, for example):
I run Docker v1.9.1 build a34a1d5 on Ubuntu 14.04.3 LTS.
Some more information gathered inside the Chrome container:
Any help would be much appreciated.
Best,
Andreas