docker.io/browserless/chrome:1-chrome-stable linux/amd64

docker.io/browserless/chrome:1-chrome-stable - 国内下载镜像源 浏览次数:243

Browserless Chrome

使用 Chromium 浏览器内核的无头浏览器容器镜像。支持 Chromium 支持的所有功能,如 JavaScript、CSS 等。提供了一个基于 Docker 的环境来运行 Chrome 浏览器,方便用于自动化测试、爬虫等任务。

可以通过命令行工具进行控制,例如使用 docker run 命令启动容器并执行测试。

支持多种语言的 API 接口,如 Node.js、Python 等,使得开发人员能够更方便地与浏览器通信并获取数据。

源镜像 docker.io/browserless/chrome:1-chrome-stable
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/browserless/chrome:1-chrome-stable
镜像ID sha256:b4a9b9f0170b6b9eb3bcef7a93e9b098cc0636269596f892f9ee60d325031e4c
镜像TAG 1-chrome-stable
大小 3.11GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD ./start.sh
启动入口
工作目录 /usr/src/app
OS/平台 linux/amd64
浏览量 243 次
贡献者
镜像创建 2024-01-26T18:43:52.727896867Z
同步时间 2024-10-29 18:01
更新时间 2024-11-22 06:29
开放端口
3000/tcp
环境变量
PATH=/usr/src/.nvm/versions/node/v18.19.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NODE_VERSION=v18.19.0 NVM_DIR=/usr/src/.nvm NODE_PATH=/usr/src/.nvm/versions/node/v18.19.0/bin APP_DIR=/usr/src/app PUPPETEER_CACHE_DIR=/usr/src/app PLAYWRIGHT_BROWSERS_PATH=/usr/src/app CONNECTION_TIMEOUT=60000 CHROME_PATH=/usr/bin/google-chrome HOST=0.0.0.0 IS_DOCKER=true LANG=C.UTF-8 NODE_ENV=production PORT=3000 PUPPETEER_CHROMIUM_REVISION=121.0.6167.85 PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true USE_CHROME_STABLE=true WORKSPACE_DIR=/usr/src/app/workspace
镜像标签
ubuntu: org.opencontainers.image.ref.name 22.04: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 22.04 扫描引擎: Trivy 扫描时间: 2024-10-29 18:02

低危漏洞:241 中危漏洞:1863 高危漏洞:48 严重漏洞:4

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/browserless/chrome:1-chrome-stable
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/browserless/chrome:1-chrome-stable  docker.io/browserless/chrome:1-chrome-stable

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/browserless/chrome:1-chrome-stable
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/browserless/chrome:1-chrome-stable  docker.io/browserless/chrome:1-chrome-stable

Shell快速替换命令

sed -i 's#browserless/chrome:1-chrome-stable#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/browserless/chrome:1-chrome-stable#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/browserless/chrome:1-chrome-stable && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/browserless/chrome:1-chrome-stable  docker.io/browserless/chrome:1-chrome-stable'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/browserless/chrome:1-chrome-stable && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/browserless/chrome:1-chrome-stable  docker.io/browserless/chrome:1-chrome-stable'

镜像历史

大小 创建时间 层信息
0.00B 2024-01-27 02:43:52 CMD ["./start.sh"]
0.00B 2024-01-27 02:43:52 EXPOSE map[3000/tcp:{}]
0.00B 2024-01-27 02:43:52 USER blessuser
1.06GB 2024-01-27 02:43:52 RUN |5 USE_CHROME_STABLE=true CHROME_STABLE_VERSION= PUPPETEER_CHROMIUM_REVISION=121.0.6167.85 PUPPETEER_VERSION=21.9.0 PORT=3000 /bin/sh -c if [ "$USE_CHROME_STABLE" = "true" ]; then export CHROMEDRIVER_SKIP_DOWNLOAD=false; else export CHROMEDRIVER_SKIP_DOWNLOAD=true; fi && npm i && npm i puppeteer@$PUPPETEER_VERSION; npm run postinstall && npm run build && npm prune --production && chown -R blessuser:blessuser $APP_DIR # buildkit
447.36MB 2024-01-27 02:43:05 RUN |5 USE_CHROME_STABLE=true CHROME_STABLE_VERSION= PUPPETEER_CHROMIUM_REVISION=121.0.6167.85 PUPPETEER_VERSION=21.9.0 PORT=3000 /bin/sh -c if [ -n "$CHROME_STABLE_VERSION" ]; then wget -q -O /tmp/chrome.deb https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_STABLE_VERSION}-1_amd64.deb && apt install -y /tmp/chrome.deb && rm /tmp/chrome.deb; elif [ "$USE_CHROME_STABLE" = "true" ]; then cd /tmp && wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && dpkg -i google-chrome-stable_current_amd64.deb; fi # buildkit
51.29MB 2024-01-27 02:42:54 COPY . . # buildkit
0.00B 2024-01-27 02:42:54 WORKDIR /usr/src/app
0.00B 2024-01-27 02:42:54 RUN |5 USE_CHROME_STABLE=true CHROME_STABLE_VERSION= PUPPETEER_CHROMIUM_REVISION=121.0.6167.85 PUPPETEER_VERSION=21.9.0 PORT=3000 /bin/sh -c mkdir -p $APP_DIR $WORKSPACE_DIR # buildkit
0.00B 2024-01-27 02:42:54 ENV WORKSPACE_DIR=/usr/src/app/workspace
0.00B 2024-01-27 02:42:54 ENV USE_CHROME_STABLE=true
0.00B 2024-01-27 02:42:54 ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
0.00B 2024-01-27 02:42:54 ENV PUPPETEER_CHROMIUM_REVISION=121.0.6167.85
0.00B 2024-01-27 02:42:54 ENV PORT=3000
0.00B 2024-01-27 02:42:54 ENV NODE_ENV=production
0.00B 2024-01-27 02:42:54 ENV LANG=C.UTF-8
0.00B 2024-01-27 02:42:54 ENV IS_DOCKER=true
0.00B 2024-01-27 02:42:54 ENV HOST=0.0.0.0
0.00B 2024-01-27 02:42:54 ENV CHROME_PATH=/usr/bin/google-chrome
0.00B 2024-01-27 02:42:54 ENV CONNECTION_TIMEOUT=60000
0.00B 2024-01-27 02:42:54 ENV PLAYWRIGHT_BROWSERS_PATH=/usr/src/app
0.00B 2024-01-27 02:42:54 ENV PUPPETEER_CACHE_DIR=/usr/src/app
0.00B 2024-01-27 02:42:54 ENV APP_DIR=/usr/src/app
0.00B 2024-01-27 02:42:54 ARG PORT=3000
0.00B 2024-01-27 02:42:54 ARG PUPPETEER_VERSION
0.00B 2024-01-27 02:42:54 ARG PUPPETEER_CHROMIUM_REVISION
0.00B 2024-01-27 02:42:54 ARG CHROME_STABLE_VERSION
0.00B 2024-01-27 02:42:54 ARG USE_CHROME_STABLE
328.05KB 2024-01-27 02:41:35 RUN |1 BLESS_USER_ID=999 /bin/sh -c groupadd -r blessuser && useradd --uid ${BLESS_USER_ID} -r -g blessuser -G audio,video blessuser && mkdir -p /home/blessuser/Downloads && chown -R blessuser:blessuser /home/blessuser # buildkit
881.59KB 2024-01-27 02:41:34 RUN |1 BLESS_USER_ID=999 /bin/sh -c fc-cache -f -v && apt-get -qq clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # buildkit
181.83MB 2024-01-27 02:41:32 RUN |1 BLESS_USER_ID=999 /bin/sh -c mkdir -p $NVM_DIR && curl -sL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash && . $NVM_DIR/nvm.sh && nvm install $NODE_VERSION # buildkit
1.23GB 2024-01-27 02:41:24 RUN |1 BLESS_USER_ID=999 /bin/sh -c apt-get -y -qq --no-install-recommends install software-properties-common build-essential ca-certificates curl dumb-init ffmpeg fontconfig fonts-freefont-ttf fonts-gfs-neohellenic fonts-indic fonts-ipafont-gothic fonts-kacst fonts-liberation fonts-noto-cjk fonts-noto-color-emoji fonts-roboto fonts-thai-tlwg fonts-ubuntu fonts-urw-base35 fonts-wqy-zenhei gconf-service git libappindicator1 libappindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm-dev libgbm1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libu2f-udev libvulkan1 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 locales lsb-release msttcorefonts pdftk unzip wget xdg-utils xvfb # buildkit
992.92KB 2024-01-27 01:28:32 RUN |1 BLESS_USER_ID=999 /bin/sh -c echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections # buildkit
59.21MB 2024-01-27 01:28:32 RUN |1 BLESS_USER_ID=999 /bin/sh -c apt-get -qq update && apt-get -qq dist-upgrade # buildkit
555.00B 2024-01-27 01:28:22 COPY fonts.conf /etc/fonts/local.conf # buildkit
0.00B 2024-01-27 01:28:22 ARG BLESS_USER_ID=999
0.00B 2024-01-27 01:28:22 ENV PATH=/usr/src/.nvm/versions/node/v18.19.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2024-01-27 01:28:22 ENV NODE_PATH=/usr/src/.nvm/versions/node/v18.19.0/bin
0.00B 2024-01-27 01:28:22 ENV NVM_DIR=/usr/src/.nvm
0.00B 2024-01-27 01:28:22 ENV NODE_VERSION=v18.19.0
0.00B 2024-01-12 01:08:11 /bin/sh -c #(nop) CMD ["/bin/bash"]
77.85MB 2024-01-12 01:08:11 /bin/sh -c #(nop) ADD file:c646150c866c8b5ece67bc79c610718acf858034fa22502b0dba3d38c53fc9a9 in /
0.00B 2024-01-12 01:08:09 /bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
0.00B 2024-01-12 01:08:09 /bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
0.00B 2024-01-12 01:08:09 /bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
0.00B 2024-01-12 01:08:09 /bin/sh -c #(nop) ARG RELEASE

镜像信息

{
    "Id": "sha256:b4a9b9f0170b6b9eb3bcef7a93e9b098cc0636269596f892f9ee60d325031e4c",
    "RepoTags": [
        "browserless/chrome:1-chrome-stable",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/browserless/chrome:1-chrome-stable"
    ],
    "RepoDigests": [
        "browserless/chrome@sha256:efac47cfff3830d9a50b27d29f8bbb61949058ae336c823fbe9bd3c0d1debcc8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/browserless/chrome@sha256:6ea1baf4275fdb10f17684f878fe8e0413a6aa4265fb837a8af6dd3e0517332c"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-01-26T18:43:52.727896867Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "blessuser",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "3000/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/src/.nvm/versions/node/v18.19.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "NODE_VERSION=v18.19.0",
            "NVM_DIR=/usr/src/.nvm",
            "NODE_PATH=/usr/src/.nvm/versions/node/v18.19.0/bin",
            "APP_DIR=/usr/src/app",
            "PUPPETEER_CACHE_DIR=/usr/src/app",
            "PLAYWRIGHT_BROWSERS_PATH=/usr/src/app",
            "CONNECTION_TIMEOUT=60000",
            "CHROME_PATH=/usr/bin/google-chrome",
            "HOST=0.0.0.0",
            "IS_DOCKER=true",
            "LANG=C.UTF-8",
            "NODE_ENV=production",
            "PORT=3000",
            "PUPPETEER_CHROMIUM_REVISION=121.0.6167.85",
            "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true",
            "USE_CHROME_STABLE=true",
            "WORKSPACE_DIR=/usr/src/app/workspace"
        ],
        "Cmd": [
            "./start.sh"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/usr/src/app",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "22.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 3113617241,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/4a1a7c4f6bd165c1a1a3d52ed4ff2e3b2161cc88c513b52e02ad0bdf96a0f87a/diff:/var/lib/docker/overlay2/47a476808166339723784689eba8b3df77a4e74224c83de9782c9a987695ebc6/diff:/var/lib/docker/overlay2/5bc7850eaa6f3d1be45178295ec6a9bb690f90c43869220399dd1e694a4943c9/diff:/var/lib/docker/overlay2/3af6dcf7f4fafa5023d4950e9c1ccc626b5aec2b9fe55c4c819e8f3b99576eb2/diff:/var/lib/docker/overlay2/ffb8a3b0166b9cb47c3fa50a3091be62ff55eb97bcffb2a629b86923e0118c33/diff:/var/lib/docker/overlay2/aac9cbeb1ae9f290f91c7643a4a17d0db6e90985323499c568c157152f2867c3/diff:/var/lib/docker/overlay2/2294b72684c9662d50a54a258d6023316fb4d447bd42a6e77cb544ef4cf89706/diff:/var/lib/docker/overlay2/22a29a115e1472fb2e123b7556bf61de657b98642ad7aa65283d9d60c6e857cc/diff:/var/lib/docker/overlay2/4e9f5cbbdea39839d00cadabf625d2388f1333d2f227f5e4db0eebb9c719a758/diff:/var/lib/docker/overlay2/ae4fdd5d875ead6744260a5e0e1de52103e0efb52a989a15ef40a7601f675109/diff:/var/lib/docker/overlay2/ce3b7e53965934c85a829affc2aaaae8730c662e3d86361e795c5769d524b480/diff:/var/lib/docker/overlay2/26b0f3bfd6eea5e62300366a4dea2e33eb1cf5d817cb398ab1a320c99e486138/diff",
            "MergedDir": "/var/lib/docker/overlay2/667114d5fef80643b467ccad2ea2a61291ea16dbfc1987fd09e012730b258930/merged",
            "UpperDir": "/var/lib/docker/overlay2/667114d5fef80643b467ccad2ea2a61291ea16dbfc1987fd09e012730b258930/diff",
            "WorkDir": "/var/lib/docker/overlay2/667114d5fef80643b467ccad2ea2a61291ea16dbfc1987fd09e012730b258930/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:8e87ff28f1b5ff2d5131999ccfa1e674cb252631c50683f5ee43fad59cbea8e1",
            "sha256:2959862974e8d3f7ac39ee333b1b31455ed2046af91f5b10a8219ddb6cc9fd6f",
            "sha256:4182b2284936db9304e76309ae5d6962b25d7c6ccab15e9c59f7be49da3a88b4",
            "sha256:4ad2194b3de352220478dd823f311a6f790cf54a8ca2100c3e515c9c7fd05964",
            "sha256:50d9f550d2cfcfb4b1b5d2e94951685fe1f2462b72cc0388cfeb98a5030c1812",
            "sha256:a666ad98ffb9c904cfec1b75639a80c0ea21d02b89f6aa790eecaa7887054ddb",
            "sha256:5914c491358a8157b46ec6bb34689dd4fe416bb6d87cacf0f5b8ad1ac1920439",
            "sha256:14cff35a37dc5dbe9feef731bf27c9dd5406943bcdcbb7c354bae41dd4ab2023",
            "sha256:21a734cac87b467edf20ecf652177e18b9d84b9bb3b6122cb8ad48a7f74f4ecb",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:802f7338726da7c5134a93cd74cd96f6ec902ede39fda737be8773df7ac1a71e",
            "sha256:bdb3bc0d56fd464d480e177c017806b65e2af51d6be8a497fbf91e61d6bb7b7b",
            "sha256:db7624dccd6d8ab4b4567dcb87dd8469ee6632500aaa48429cd3adcf01d040c5"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-29T17:58:37.218973359+08:00"
    }
}

更多版本

docker.io/browserless/chrome:latest

linux/amd64 docker.io3.06GB2024-09-02 16:07
221

docker.io/browserless/chrome:1.59.0-puppeteer-20.2.1

linux/amd64 docker.io3.87GB2024-10-23 16:04
67

docker.io/browserless/chrome:1-chrome-stable

linux/amd64 docker.io3.11GB2024-10-29 18:01
242