
benoitmartin/chromiumChromium with full hardware (sound and video) acceleration.
X11 socket forwarding, no VNC or SSH forwarding crap.
docker run --rm -it --net host \ -e DISPLAY=unix$DISPLAY \ -e ALSA_CARD=1 \ -v ~/.Xauthority:/root/.Xauthority \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -v /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket \ -v $HOME/.config/chromium/:/data \ -v $HOME/Downloads:/home/chromium/Downloads \ --device /dev/snd \ --device /dev/dri \ --name chromium \ benoitmartin/chromium
The ALSA_CARD environment variable can be set to select the sound device to use.
check sound card index to use: cat /proc/asound/cards or run aplay -l
cf: [***]
Check gid for groups audio and video. They should be 29 and 44 respectively.
Chromium data directory is mounted into the container. If this directory does not exist on the host, It will be created as root which will cause problems as the chromium user (inside the container) will not be able to read or write. The data directory should be created before running the container.
eg:
if [ ! -d "$HOME/.config/chromium/" ]; then mkdir -p $HOME/.config/chromium/ fi



manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务