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

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

系统OS: debian 12.8 扫描引擎: Trivy 扫描时间: 2024-12-03 11:46

低危漏洞:55 中危漏洞:14 高危漏洞:6 严重漏洞:1

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-11-21 00:05:40 CMD ["node"]
0.00B 2024-11-21 00:05:40 ENTRYPOINT ["docker-entrypoint.sh"]
388.00B 2024-11-21 00:05:40 COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
7.18MB 2024-11-21 00:05:40 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-11-21 00:05:40 ENV YARN_VERSION=1.22.22
117.37MB 2024-11-21 00:05:40 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 C0D6248439F1D5604AAFFB4021D900FFDB233756 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-11-21 00:05:40 ENV NODE_VERSION=20.18.1
8.90KB 2024-11-21 00:05:40 RUN /bin/sh -c groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash --create-home node # buildkit
0.00B 2024-11-11 08:00:00 CMD ["bash"]
74.78MB 2024-11-11 08:00:00 ADD rootfs.tar.xz / # buildkit

镜像信息

{
    "Id": "sha256:69c45a9b58e94503d6e3c8e9200a0bc53249a2cf34c9746a852a1e93c9afdd4b",
    "RepoTags": [
        "node:20-slim",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node:20-slim"
    ],
    "RepoDigests": [
        "node@sha256:a0196893dffad1f1a5723a8c817b45681402be549a8f196bf9c93a5bc30628e3",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node@sha256:bad6d150f38fdc55eb72b0c5ceb2a17fe23ad6af76656bb9ef1d9b28c82df1d9"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-11-20T16:05:40Z",
    "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.1",
            "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": 199327681,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/274de5023d534e713533266d8ce8d7f57a090b3dcf71e32b8fecfbd38884e3e1/diff:/var/lib/docker/overlay2/d502be7904285c8711c4b8973337c03bdf888b691137d8bde5e627b376eebc0f/diff:/var/lib/docker/overlay2/febe087f7a5f215b36c633e604845b3f00471de811e95d775986f07a45336e45/diff:/var/lib/docker/overlay2/91eaeb3375babd906dc7e8a6c516620560ab7dbfb21b9881f9ae71d2e2f398b0/diff",
            "MergedDir": "/var/lib/docker/overlay2/252ce1e47b878b5eda611dd7de70190df63c3cb5d59bb25769bfea56e461c127/merged",
            "UpperDir": "/var/lib/docker/overlay2/252ce1e47b878b5eda611dd7de70190df63c3cb5d59bb25769bfea56e461c127/diff",
            "WorkDir": "/var/lib/docker/overlay2/252ce1e47b878b5eda611dd7de70190df63c3cb5d59bb25769bfea56e461c127/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:c3548211b8264f8bfa47a6727043a64f1791b82ac965a284a7ea187e971a95e2",
            "sha256:c6d056385ae13f45749e882bdbe2c77c0be5ca159760978f262d3d7d518d83b8",
            "sha256:e336361e47ab363e89b9eafc77b8bdfc6864f44b9e2fd80af44571eadfb05fd8",
            "sha256:d46fb639858a100ac95cc4d8e7d68abcba2c8be4b2919f6c32db50b05e1daa01",
            "sha256:65d394d4a81b086bcd73f6b06a54ea6e391cedb75124694c83dd6df14d746a20"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-03T11:45:18.171349688+08:00"
    }
}

更多版本

docker.io/node:16.20.2-buster

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

docker.io/node:16.10.0-buster

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

docker.io/node:21-alpine3.19

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

docker.io/node:14.15.4-alpine

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

docker.io/node:18.20.3-alpine3.20

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

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
221

docker.io/node:14.17.0-slim

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

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
148

docker.io/node:20.17.0-alpine

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

docker.io/node:20.16.0

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

docker.io/node:14.21.3

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

docker.io/node:18-alpine

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

docker.io/node:18-slim

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

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
292

docker.io/node:16-alpine

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

docker.io/node:16

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

docker.io/node:18.17-alpine

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

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
188

docker.io/node:20.10.0

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

docker.io/node:19-alpine

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

docker.io/node:20.15.1-alpine3.20

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

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
229

docker.io/node:23.0.0

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

docker.io/node:20.18.0-slim

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

docker.io/node:20.18.0

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

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
58

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

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

docker.io/node:22-alpine3.20

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

docker.io/node:20.11.1

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

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
53

docker.io/node:16.20.1-buster

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

docker.io/node:18.12

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

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
32

docker.io/node:16-alpine

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

docker.io/node:18-bookworm

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

docker.io/node:10.24.1

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

docker.io/node:23.3.0

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

docker.io/node:20-slim

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

docker.io/node:14.15.1

linux/amd64 docker.io943.15MB2024-12-04 11:34
4

docker.io/node:18.16.0

linux/amd64 docker.io1.09GB2024-12-04 11:37
5