
hugojosefson/chromiumRuns the Chromium browser, inside Docker.
This docker image must be started as root, so don't use docker run --user=.... Instead, pass environment variables USER_NAME,
USER_ID, GROUP_NAME, GROUP_ID (and optionally HOME) for the
user you want to become.
Example which gives Chromium access to the current directory, but
not your actual HOME on your host.
bash# Create a new temp directory to hold the user HOME inside the container CHROMIUM_HOME=$(mktemp -d) # (or use another specific directory) # Run Chromium using in the current directory, as yourself, with config # saved in the new HOME docker run --rm -it \ --env USER_ID="$(id -u)" \ --env USER_NAME="$(id -un)" \ --env GROUP_ID="$(id -g)" \ --env GROUP_NAME="$(id -gn)" \ --env HOME="${HOME}" \ --volume "${CHROMIUM_HOME}":"${HOME}" \ --volume /tmp/.X11-unix:/tmp/.X11-unix \ --env DISPLAY="unix${DISPLAY}" \ --volume "$(pwd)":"$(pwd)" \ --workdir "$(pwd)" \ docker.io/hugojosefson/chromium
MIT



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