docker.io/library/node:20.9.0-bookworm-slim linux/amd64

docker.io/library/node:20.9.0-bookworm-slim - 国内下载镜像源 浏览次数:58 安全受验证的发布者-Docker
🏗️

Node.js 是一个用于JavaScript脚本语言的运行环境,可以在服务器上运行、可以与操作系统集成和交互。 Node.js 可以用来开发各种类型的应用程序,如 Web 应用程序、命令行工具、桌面应用程序等。

源镜像 docker.io/library/node:20.9.0-bookworm-slim
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:20.9.0-bookworm-slim
镜像ID sha256:32ba799eca0fb05243ec88c84262fbc9f2d99108bbe3ece10f7bf8c65f5ae406
镜像TAG 20.9.0-bookworm-slim
大小 200.89MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD node
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 58 次
贡献者 wa********u@baijia.com
镜像创建 2023-11-21T09:11:44.88206185Z
同步时间 2025-01-03 10:54
更新时间 2025-01-18 12:27
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NODE_VERSION=20.9.0 YARN_VERSION=1.22.19
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.2 扫描引擎: Trivy 扫描时间: 2025-01-03 10:54

低危漏洞:60 中危漏洞:28 高危漏洞:26 严重漏洞:1

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:20.9.0-bookworm-slim
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:20.9.0-bookworm-slim  docker.io/library/node:20.9.0-bookworm-slim

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:20.9.0-bookworm-slim
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:20.9.0-bookworm-slim  docker.io/library/node:20.9.0-bookworm-slim

Shell快速替换命令

sed -i 's#library/node:20.9.0-bookworm-slim#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:20.9.0-bookworm-slim#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:20.9.0-bookworm-slim && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:20.9.0-bookworm-slim  docker.io/library/node:20.9.0-bookworm-slim'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:20.9.0-bookworm-slim && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:20.9.0-bookworm-slim  docker.io/library/node:20.9.0-bookworm-slim'

镜像构建历史


# 2023-11-21 17:11:44  0.00B 
/bin/sh -c #(nop)  CMD ["node"]
                        
# 2023-11-21 17:11:44  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2023-11-21 17:11:44  388.00B 
/bin/sh -c #(nop) COPY file:4d192565a7220e135cab6c77fbc1c73211b69f3d9fb37e62857b2c6eb9363d51 in /usr/local/bin/ 
                        
# 2023-11-21 17:11:44  9.36MB 
/bin/sh -c set -ex   && savedAptMark="$(apt-mark showmanual)"   && apt-get update && apt-get install -y ca-certificates curl wget gnupg dirmngr --no-install-recommends   && rm -rf /var/lib/apt/lists/*   && export GNUPGHOME="$(mktemp -d)"   && for key in     6A010C5166006599AA17F08146C2130DFD2497F5   ; do     gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" ||     gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ;   done   && curl -fsSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz"   && curl -fsSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz.asc"   && gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz   && gpgconf --kill all   && rm -rf "$GNUPGHOME"   && mkdir -p /opt   && tar -xzf yarn-v$YARN_VERSION.tar.gz -C /opt/   && ln -s /opt/yarn-v$YARN_VERSION/bin/yarn /usr/local/bin/yarn   && ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg   && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz   && apt-mark auto '.*' > /dev/null   && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; }   && find /usr/local -type f -executable -exec ldd '{}' ';'     | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }'     | sort -u     | xargs -r dpkg-query --search     | cut -d: -f1     | sort -u     | xargs -r apt-mark manual   && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false   && yarn --version
                        
# 2023-11-21 17:11:32  0.00B 
/bin/sh -c #(nop)  ENV YARN_VERSION=1.22.19
                        
# 2023-11-21 17:11:31  116.70MB 
/bin/sh -c ARCH= OPENSSL_ARCH= && dpkgArch="$(dpkg --print-architecture)"     && case "${dpkgArch##*-}" in       amd64) ARCH='x64' OPENSSL_ARCH='linux-x86_64';;       ppc64el) ARCH='ppc64le' OPENSSL_ARCH='linux-ppc64le';;       s390x) ARCH='s390x' OPENSSL_ARCH='linux*-s390x';;       arm64) ARCH='arm64' OPENSSL_ARCH='linux-aarch64';;       armhf) ARCH='armv7l' OPENSSL_ARCH='linux-armv4';;       i386) ARCH='x86' OPENSSL_ARCH='linux-elf';;       *) echo "unsupported architecture"; exit 1 ;;     esac     && set -ex     && apt-get update && apt-get install -y ca-certificates curl wget gnupg dirmngr xz-utils libatomic1 --no-install-recommends     && rm -rf /var/lib/apt/lists/*     && export GNUPGHOME="$(mktemp -d)"     && for key in       4ED778F539E3634C779C87C6D7062848A1AB005C       141F07595B7B3FFE74309A937405533BE57C7D57       74F12602B6F1C4E913FAA37AD3A89613643B6201       DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7       61FC681DFB92A079F1685E77973F295594EC4689       8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600       C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8       890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4       C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C       108F52B48DB57BB0CC439B2997B01419BD92F80A       A363A499291CBBC940DD62E41F10027AF002F8B0     ; do       gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" ||       gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ;     done     && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz"     && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc"     && gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc     && gpgconf --kill all     && rm -rf "$GNUPGHOME"     && grep " node-v$NODE_VERSION-linux-$ARCH.tar.xz\$" SHASUMS256.txt | sha256sum -c -     && tar -xJf "node-v$NODE_VERSION-linux-$ARCH.tar.xz" -C /usr/local --strip-components=1 --no-same-owner     && rm "node-v$NODE_VERSION-linux-$ARCH.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt     && find /usr/local/include/node/openssl/archs -mindepth 1 -maxdepth 1 ! -name "$OPENSSL_ARCH" -exec rm -rf {} \;     && apt-mark auto '.*' > /dev/null     && find /usr/local -type f -executable -exec ldd '{}' ';'       | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }'       | sort -u       | xargs -r dpkg-query --search       | cut -d: -f1       | sort -u       | xargs -r apt-mark manual     && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false     && ln -s /usr/local/bin/node /usr/local/bin/nodejs     && node --version     && npm --version
                        
# 2023-11-21 17:11:05  0.00B 
/bin/sh -c #(nop)  ENV NODE_VERSION=20.9.0
                        
# 2023-11-21 17:09:27  8.90KB 
/bin/sh -c groupadd --gid 1000 node   && useradd --uid 1000 --gid node --shell /bin/bash --create-home node
                        
# 2023-11-21 13:21:37  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2023-11-21 13:21:37  74.82MB 
/bin/sh -c #(nop) ADD file:d261a6f6921593f1e0b3f472ab1b1822e2c6deb0b369200f0b3370556bfad017 in / 
                        
                    

镜像信息

{
    "Id": "sha256:32ba799eca0fb05243ec88c84262fbc9f2d99108bbe3ece10f7bf8c65f5ae406",
    "RepoTags": [
        "node:20.9.0-bookworm-slim",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:20.9.0-bookworm-slim"
    ],
    "RepoDigests": [
        "node@sha256:d272d96f3ad3a4e5bb2b6c36ea7427b4e83d1b23fb24b9df8b71d01aa59951b1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node@sha256:7059cd1a44e9694e6df05408fed5d56b710b2f45a8e8806b178d8c31653a48cc"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2023-11-21T09:11:44.88206185Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.23",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "NODE_VERSION=20.9.0",
            "YARN_VERSION=1.22.19"
        ],
        "Cmd": [
            "node"
        ],
        "Image": "sha256:0ffabdcc0e67a7a46c802d38c3dc2ffb967a70d3520cd95b4032ef826b8554f0",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 200894320,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/9e0e593812afbbaa5b05cbc9f7c5d93116389d8180f56793be576bbcbd039fce/diff:/var/lib/docker/overlay2/0fb989c69ddd628fe2dae7395006a5785fc6d82e5b6c11df8911e44fb105ee6e/diff:/var/lib/docker/overlay2/1787b58d986e4cdfb7eab3be99fc654d193cd27d71c695b174aa7e6e4a74be54/diff:/var/lib/docker/overlay2/e360f2ad522263bebae4a2da5dff67a7a86371a6356155e6e1e7348d71e8755f/diff",
            "MergedDir": "/var/lib/docker/overlay2/4e7c9b8b2f9d961a57b7bd00db3e1a6b196b524f270d113228e6bdfb2f0af54c/merged",
            "UpperDir": "/var/lib/docker/overlay2/4e7c9b8b2f9d961a57b7bd00db3e1a6b196b524f270d113228e6bdfb2f0af54c/diff",
            "WorkDir": "/var/lib/docker/overlay2/4e7c9b8b2f9d961a57b7bd00db3e1a6b196b524f270d113228e6bdfb2f0af54c/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:92770f546e065c4942829b1f0d7d1f02c2eb1e6acf0d1bc08ef0bf6be4972839",
            "sha256:9547708d2625fdad934356f5ec6428f268808b3530a524804f57e3447a59224c",
            "sha256:63c5ccbc8d4ff244e5a33994489b81ec0b6d5aa9487aebdae0fa5f57d6e592f2",
            "sha256:29dfa9898e17659e2c7b979ba21adc2f30ecc3a5fec32c87f0d5b07ff61fbd84",
            "sha256:c3505f9ccbec275d8aa8abeca72d1d416540c88d121ec600a9bcdbb5137245c4"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-03T10:53:53.93681901+08:00"
    }
}

更多版本

docker.io/library/node:12-alpine

linux/amd64 docker.io91.01MB2024-07-05 10:57
240

docker.io/library/node:12-alpine

linux/arm64 docker.io89.43MB2024-07-05 10:57
331

docker.io/library/node:20.14.0-alpine

linux/amd64 docker.io132.91MB2024-07-16 09:21
268

docker.io/library/node:alpine

linux/amd64 docker.io150.61MB2024-07-16 10:17
414

docker.io/library/node:20-alpine

linux/amd64 docker.io133.14MB2024-07-30 23:42
561

docker.io/library/node:16

linux/amd64 docker.io908.82MB2024-07-31 14:14
375

docker.io/library/node:8

linux/amd64 docker.io901.21MB2024-08-07 13:37
209

docker.io/library/node:12

linux/amd64 docker.io917.81MB2024-08-07 13:40
249

docker.io/library/node:14

linux/amd64 docker.io911.75MB2024-08-07 13:43
344

docker.io/library/node:20

linux/amd64 docker.io1.10GB2024-08-07 13:43
354

docker.io/library/node:6

linux/amd64 docker.io884.32MB2024-08-30 09:27
156

docker.io/library/node:18.20.4

linux/amd64 docker.io1.09GB2024-08-31 15:10
252

docker.io/library/node:18

linux/amd64 docker.io1.09GB2024-09-26 17:28
194

docker.io/library/node:20.6.0-alpine

linux/amd64 docker.io180.99MB2024-10-03 02:26
138

docker.io/library/node:20.15.1-alpine

linux/amd64 docker.io132.95MB2024-10-12 10:49
118

docker.io/library/node:20-bullseye-slim

linux/amd64 docker.io205.61MB2024-10-12 12:56
218

docker.io/library/node:14-alpine

linux/amd64 docker.io119.31MB2024-10-18 05:00
155

docker.io/library/node:22.9.0

linux/amd64 docker.io1.11GB2024-10-21 20:53
173

docker.io/library/node:lts-slim

linux/amd64 docker.io219.76MB2024-11-04 11:15
112

docker.io/library/node:14.21.3

linux/amd64 docker.io911.75MB2024-11-07 11:04
74

docker.io/library/node:22.11.0-alpine3.20

linux/amd64 docker.io155.13MB2024-11-20 18:21
96

docker.io/library/node:18.20.4

linux/arm64 docker.io1.09GB2024-11-24 17:02
83

docker.io/library/node:22-alpine3.19

linux/amd64 docker.io154.73MB2024-11-24 20:24
104

docker.io/library/node:18.11.0

linux/amd64 docker.io991.29MB2024-12-24 14:14
46

docker.io/library/node:18.18.0

linux/amd64 docker.io1.09GB2024-12-24 14:15
59

docker.io/library/node:20.9.0-bookworm

linux/amd64 docker.io1.10GB2025-01-02 19:24
57

docker.io/library/node:20.9.0-bookworm

linux/arm64 docker.io1.10GB2025-01-02 19:26
28

docker.io/library/node:20.9.0-bookworm-slim

linux/amd64 docker.io200.89MB2025-01-03 10:54
57

docker.io/library/node:20.9.0-bookworm-slim

linux/arm64 docker.io222.79MB2025-01-03 10:54
33

docker.io/library/node:18-slim

linux/amd64 docker.io192.10MB2025-01-12 19:44
30

docker.io/library/node:20.18.0-alpine

linux/amd64 docker.io132.84MB2025-01-12 19:45
30

docker.io/library/node:22.13.0-alpine3.21

linux/amd64 docker.io157.71MB2025-01-14 11:49
31