docker.io/node:20.18.0-slim linux/amd64

docker.io/node:20.18.0-slim - 国内下载镜像源 浏览次数:198 安全受验证的发布者-Nodejs
Node.js 是一个开源的 JavaScript 运行环境和开发工具箱。该镜像用于运行 Node.js 应用程序。
源镜像 docker.io/node:20.18.0-slim
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node:20.18.0-slim
镜像ID sha256:b39900045e39b0bc9cef501f84dd6361f20966a5c0af4e57e8829bc41a378144
镜像TAG 20.18.0-slim
大小 199.30MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD node
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 198 次
贡献者 he***y@139.com
镜像创建 2024-10-04T15:27:57Z
同步时间 2024-10-24 13:22
更新时间 2024-12-03 20:28
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NODE_VERSION=20.18.0 YARN_VERSION=1.22.22
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.7 扫描引擎: Trivy 扫描时间: 2024-10-24 13:22

低危漏洞:57 中危漏洞:13 高危漏洞:1 严重漏洞:1

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-10-04 23:27:57 CMD ["node"]
0.00B 2024-10-04 23:27:57 ENTRYPOINT ["docker-entrypoint.sh"]
388.00B 2024-10-04 23:27:57 COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
7.18MB 2024-10-04 23:27:57 RUN /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 && rm -rf /tmp/* # buildkit
0.00B 2024-10-04 23:27:57 ENV YARN_VERSION=1.22.22
117.34MB 2024-10-04 23:27:57 RUN /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 CC68F5A3106FF448322E48ED27F5E38D5B0A215F 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600 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 # buildkit
0.00B 2024-10-04 23:27:57 ENV NODE_VERSION=20.18.0
8.90KB 2024-10-04 23:27:57 RUN /bin/sh -c groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash --create-home node # buildkit
0.00B 2024-10-04 23:27:57 /bin/sh -c #(nop) CMD ["bash"]
74.78MB 2024-10-04 23:27:57 /bin/sh -c #(nop) ADD file:90b9dd8f12120e8b2cd3ece45fcbe8af67e40565e2032a40f64bd921c43e2ce7 in /

镜像信息

{
    "Id": "sha256:b39900045e39b0bc9cef501f84dd6361f20966a5c0af4e57e8829bc41a378144",
    "RepoTags": [
        "node:20.18.0-slim",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node:20.18.0-slim"
    ],
    "RepoDigests": [
        "node@sha256:ec35a66c9a0a275b027debde05247c081f8b2f0c43d7399d3a6ad5660cee2f6a",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node@sha256:1afe49ec129aecd0c5a18e2442ae8ab0bc970d0120687dbde84ac4a71c4a74d6"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-04T15:27:57Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "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.18.0",
            "YARN_VERSION=1.22.22"
        ],
        "Cmd": [
            "node"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 199298287,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/3986d68d02c8dd6d276cfeffeb6f5b8f3c1a21ae29bb9c4507c2e8bd3777462d/diff:/var/lib/docker/overlay2/e9e0e28aefa2be384a7c00729e78057f7ff95360286f584b4ffc1a04b4ac569a/diff:/var/lib/docker/overlay2/027f5c6251ac144164d9d4461cf529c21144f47d8025051fd58609e383a946a1/diff:/var/lib/docker/overlay2/640dc40711366eefdc38587353d7800897ec5b45fb0486472d1bbe1802e322be/diff",
            "MergedDir": "/var/lib/docker/overlay2/20971c9e32ac981e0a51b15dddf9178ab5ef25be30c3bbbbc8ffdc7bfe522c5f/merged",
            "UpperDir": "/var/lib/docker/overlay2/20971c9e32ac981e0a51b15dddf9178ab5ef25be30c3bbbbc8ffdc7bfe522c5f/diff",
            "WorkDir": "/var/lib/docker/overlay2/20971c9e32ac981e0a51b15dddf9178ab5ef25be30c3bbbbc8ffdc7bfe522c5f/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:98b5f35ea9d3eca6ed1881b5fe5d1e02024e1450822879e4c13bb48c9386d0ad",
            "sha256:5878b77f3c1125de98a61da8e4ce769ad79f5df52f329a0934368e321f1ee89b",
            "sha256:f5bd8da17cad735c21d516dbd67a2d435693cda3b9f5be51ac4d308a88920950",
            "sha256:eb5442942d762e9972345d40507218e46ce26db490c377dcc524f39c29ac93b2",
            "sha256:5d47621641ee87c978885a15f8b4e924a06b5318f1b3c953c60f3a0ff2b4113e"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-24T13:22:04.541656903+08:00"
    }
}

更多版本

docker.io/node:16.20.2-buster

linux/amd64 docker.io908.76MB2024-01-18 13:54
693

docker.io/node:16.10.0-buster

linux/amd64 docker.io907.73MB2024-01-23 13:54
427

docker.io/node:21-alpine3.19

linux/amd64 docker.io138.55MB2024-06-24 13:13
601

docker.io/node:14.15.4-alpine

linux/amd64 docker.io116.14MB2024-07-04 17:15
214

docker.io/node:18.20.3-alpine3.20

linux/amd64 docker.io127.68MB2024-07-06 06:43
449

docker.io/node:20.14.0-alpine

linux/amd64 docker.io132.91MB2024-07-16 09:17
704

docker.io/node:20.16.0-alpine3.20

linux/amd64 docker.io133.14MB2024-07-26 20:34
218

docker.io/node:14.17.0-slim

linux/amd64 docker.io167.47MB2024-08-03 10:46
407

docker.io/node:16

linux/amd64 docker.io908.82MB2024-08-11 16:25
227

docker.io/node:19.4.0-alpine3.17

linux/amd64 docker.io176.08MB2024-08-15 15:14
168

docker.io/node:16.16.0

linux/amd64 docker.io907.23MB2024-08-16 18:35
242

docker.io/node:14.17.6-stretch

linux/amd64 docker.io943.91MB2024-08-19 15:01
147

docker.io/node:20.17.0-alpine

linux/amd64 docker.io133.29MB2024-09-01 11:31
231

docker.io/node:20.16.0

linux/amd64 docker.io1.10GB2024-09-04 11:24
378

docker.io/node:14.21.3

linux/amd64 docker.io911.75MB2024-09-05 19:13
210

docker.io/node:18-alpine

linux/amd64 docker.io127.68MB2024-09-09 14:44
590

docker.io/node:18-slim

linux/amd64 docker.io191.95MB2024-09-10 10:54
257

docker.io/node:20.17.0-bullseye

linux/amd64 docker.io1.00GB2024-09-11 13:57
194

docker.io/nodered/node-red:latest

linux/amd64 docker.io575.54MB2024-09-19 02:57
290

docker.io/node:16-alpine

linux/arm64 docker.io116.49MB2024-09-23 10:06
302

docker.io/node:16

linux/arm64 docker.io855.89MB2024-09-23 10:16
140

docker.io/node:18.17-alpine

linux/amd64 docker.io176.39MB2024-09-26 12:50
167

docker.io/node:18.17-alpine

linux/arm64 docker.io174.10MB2024-09-26 12:51
150

docker.io/node:lts-alpine

linux/amd64 docker.io133.29MB2024-10-01 10:58
186

docker.io/node:20.10.0

linux/amd64 docker.io1.10GB2024-10-11 10:11
160

docker.io/node:19-alpine

linux/arm docker.io161.81MB2024-10-12 10:50
218

docker.io/node:20.15.1-alpine3.20

linux/amd64 docker.io132.95MB2024-10-15 20:35
102

docker.io/nodecloud/nccl-test:cuda_12.1.0

linux/amd64 docker.io7.88GB2024-10-16 19:56
88

docker.io/node:20.11-alpine3.19

linux/amd64 docker.io136.64MB2024-10-23 11:41
228

docker.io/node:23.0.0

linux/amd64 docker.io1.12GB2024-10-23 14:05
104

docker.io/node:20.18.0-slim

linux/amd64 docker.io199.30MB2024-10-24 13:22
197

docker.io/node:20.18.0

linux/amd64 docker.io1.10GB2024-10-24 13:54
112

docker.io/node:14.15.0

linux/amd64 docker.io942.96MB2024-10-30 13:49
124

docker.io/node:14-alpine

linux/amd64 docker.io119.31MB2024-11-01 15:02
75

docker.io/node:18-bullseye

linux/amd64 docker.io993.86MB2024-11-06 15:34
52

docker.io/node:22.10.0

linux/amd64 docker.io1.12GB2024-11-07 10:31
57

docker.io/nodered/node-red:4.0.5-22

linux/arm64 docker.io585.44MB2024-11-09 22:31
45

docker.io/node:22-alpine3.20

linux/amd64 docker.io155.13MB2024-11-11 08:57
64

docker.io/node:20.11.1

linux/amd64 docker.io1.10GB2024-11-12 15:40
40

docker.io/node:20.17.0

linux/amd64 docker.io1.10GB2024-11-12 16:24
34

docker.io/node:18.20.4

linux/amd64 docker.io1.09GB2024-11-14 08:36
52

docker.io/node:16.20.1-buster

linux/amd64 docker.io908.81MB2024-11-14 14:15
34

docker.io/node:18.12

linux/amd64 docker.io991.33MB2024-11-18 17:22
34

docker.io/node:20-alpine3.20

linux/amd64 docker.io132.84MB2024-11-19 10:59
39

docker.io/nodematic/ffmpeg-python:3.11

linux/amd64 docker.io1.30GB2024-11-19 11:17
31

docker.io/node:16-alpine

linux/amd64 docker.io117.53MB2024-11-21 19:48
28

docker.io/node:18-bookworm

linux/amd64 docker.io1.09GB2024-11-28 18:07
22

docker.io/node:10.24.1

linux/amd64 docker.io910.37MB2024-11-29 12:17
23

docker.io/node:23.3.0

linux/amd64 docker.io1.12GB2024-11-29 19:55
23

docker.io/node:20-slim

linux/amd64 docker.io199.33MB2024-12-03 11:45
6