docker.io/node:18-bookworm linux/amd64

docker.io/node:18-bookworm - 国内下载镜像源 浏览次数:87 安全受验证的发布者-Nodejs
Node.js 是一个开源的 JavaScript 运行环境和开发工具箱。该镜像用于运行 Node.js 应用程序。
源镜像 docker.io/node:18-bookworm
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node:18-bookworm
镜像ID sha256:ef5aa5650b4dde5b1e13cef5cf498c0cf3e6e97ad4abd0fa98f8dfcf790ce9a6
镜像TAG 18-bookworm
大小 1.09GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD node
启动入口 docker-entrypoint.sh
工作目录 /
OS/平台 linux/amd64
浏览量 87 次
贡献者 30******1@qq.com
镜像创建 2024-11-15T23:05:18Z
同步时间 2024-11-28 18:07
更新时间 2025-01-16 12:21
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NODE_VERSION=18.20.5 YARN_VERSION=1.22.22
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.8 扫描引擎: Trivy 扫描时间: 2024-11-28 18:09

低危漏洞:520 中危漏洞:491 高危漏洞:132 严重漏洞:6

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-11-16 07:05:18  0.00B 设置默认要执行的命令
CMD ["node"]
                        
# 2024-11-16 07:05:18  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2024-11-16 07:05:18  388.00B 复制新文件或目录到容器中
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
                        
# 2024-11-16 07:05:18  5.34MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -ex   && 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   && yarn --version   && rm -rf /tmp/* # buildkit
                        
# 2024-11-16 07:05:18  0.00B 设置环境变量 YARN_VERSION
ENV YARN_VERSION=1.22.22
                        
# 2024-11-16 07:05:18  154.10MB 执行命令并创建新的镜像层
RUN /bin/sh -c ARCH= && dpkgArch="$(dpkg --print-architecture)"   && case "${dpkgArch##*-}" in     amd64) ARCH='x64';;     ppc64el) ARCH='ppc64le';;     s390x) ARCH='s390x';;     arm64) ARCH='arm64';;     armhf) ARCH='armv7l';;     i386) ARCH='x86';;     *) echo "unsupported architecture"; exit 1 ;;   esac   && export GNUPGHOME="$(mktemp -d)"   && set -ex   && 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   && ln -s /usr/local/bin/node /usr/local/bin/nodejs   && node --version   && npm --version # buildkit
                        
# 2024-11-16 07:05:18  0.00B 设置环境变量 NODE_VERSION
ENV NODE_VERSION=18.20.5
                        
# 2024-11-16 07:05:18  8.94KB 执行命令并创建新的镜像层
RUN /bin/sh -c groupadd --gid 1000 node   && useradd --uid 1000 --gid node --shell /bin/bash --create-home node # buildkit
                        
# 2024-01-09 09:14:25  587.54MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -ex; 	apt-get update; 	apt-get install -y --no-install-recommends 		autoconf 		automake 		bzip2 		default-libmysqlclient-dev 		dpkg-dev 		file 		g++ 		gcc 		imagemagick 		libbz2-dev 		libc6-dev 		libcurl4-openssl-dev 		libdb-dev 		libevent-dev 		libffi-dev 		libgdbm-dev 		libglib2.0-dev 		libgmp-dev 		libjpeg-dev 		libkrb5-dev 		liblzma-dev 		libmagickcore-dev 		libmagickwand-dev 		libmaxminddb-dev 		libncurses5-dev 		libncursesw5-dev 		libpng-dev 		libpq-dev 		libreadline-dev 		libsqlite3-dev 		libssl-dev 		libtool 		libwebp-dev 		libxml2-dev 		libxslt-dev 		libyaml-dev 		make 		patch 		unzip 		xz-utils 		zlib1g-dev 	; 	rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2024-01-09 09:14:25  177.11MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		git 		mercurial 		openssh-client 		subversion 				procps 	; 	rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2023-05-11 07:29:59  48.46MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		ca-certificates 		curl 		gnupg 		netbase 		sq 		wget 	; 	rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2023-05-11 07:29:59  0.00B 设置默认要执行的命令
CMD ["bash"]
                        
# 2023-05-11 07:29:59  116.51MB 复制文件或目录到容器中
ADD rootfs.tar.xz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:ef5aa5650b4dde5b1e13cef5cf498c0cf3e6e97ad4abd0fa98f8dfcf790ce9a6",
    "RepoTags": [
        "node:18-bookworm",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node:18-bookworm"
    ],
    "RepoDigests": [
        "node@sha256:83eb05700940a88b14f21fb31cc92e9571a34b1db1a5d8781b466fc26cbb1472",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/node@sha256:54df7d63b1d8a0bba474ce21bd244b9e0b7c89993f4496ee2b1c9f46ab5b9507"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-11-15T23:05:18Z",
    "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=18.20.5",
            "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": 1089071779,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/55ebaf6d9411b2bdbeca7a01b566cb00a3261f2722ba44575f8664ef7b688fe8/diff:/var/lib/docker/overlay2/12aa7402ab998d3a1ebfb676296f59e973cf2cd09109edd5097e78319741c176/diff:/var/lib/docker/overlay2/d052f6ecaabea7182c8ad9cbbf7b48826ce99c24850f8e1c22e82aa1b99904c0/diff:/var/lib/docker/overlay2/b4cd6950541111262284441510336401eb588d2770f2865e12ff11e8f229fea6/diff:/var/lib/docker/overlay2/9db3f38f1dcc0d5505bf4bac1b4d40a9921c7ba3427e8759c7d5a1a243137349/diff:/var/lib/docker/overlay2/d151eb606d37e63afa9cbace8a766a7ac70e2f523b30e8f0eea231b8533aff64/diff:/var/lib/docker/overlay2/472ce968128bae359d2869c9408f9986da91e0ab725569b9b2c8a58c1edae20a/diff",
            "MergedDir": "/var/lib/docker/overlay2/94ddf333163e1806063c7d494f968ffa92b49455529f792a9f30214bb20b1856/merged",
            "UpperDir": "/var/lib/docker/overlay2/94ddf333163e1806063c7d494f968ffa92b49455529f792a9f30214bb20b1856/diff",
            "WorkDir": "/var/lib/docker/overlay2/94ddf333163e1806063c7d494f968ffa92b49455529f792a9f30214bb20b1856/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:24b5ce0f1e07d37a35460f50d058afcf738619e431013d2e1727609bdff2d7fc",
            "sha256:b6ca42156b9f492afa27c366f20e4e864cef8dd8d0e0a100497764b05b39e6fc",
            "sha256:00547dd240c419fa2e1b33e66aba302e8dfa4bfe6401a972d94a03b1355cbc6c",
            "sha256:96d99c63b722657062d3f33cc230e33b191ea9855c050f44871e173709597e35",
            "sha256:a3f849241ecab85ab26f81bc586f24abccb180e0738ae35b69a4a2f73435f8c5",
            "sha256:bbd4bba41fc257ec29ead2115838d2986f2222a9a8ef7f63675a3ad3ff15d974",
            "sha256:280aeb45797b7a3142697e99bb5172d6c6696cdccec118b80e4ab60437c0d660",
            "sha256:1636012a8f0a1be8320c2b458d998336e7866937ac6fd77c81438033c9663717"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-28T18:07:12.812375038+08:00"
    }
}

更多版本

docker.io/node:16.20.2-buster

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

docker.io/node:16.10.0-buster

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

docker.io/node:21-alpine3.19

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

docker.io/node:14.15.4-alpine

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

docker.io/node:18.20.3-alpine3.20

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

docker.io/node:20.14.0-alpine

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

docker.io/node:20.16.0-alpine3.20

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

docker.io/node:14.17.0-slim

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

docker.io/node:16

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

docker.io/node:19.4.0-alpine3.17

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

docker.io/node:16.16.0

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

docker.io/node:14.17.6-stretch

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

docker.io/node:20.17.0-alpine

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

docker.io/node:20.16.0

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

docker.io/node:14.21.3

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

docker.io/node:18-alpine

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

docker.io/node:18-slim

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

docker.io/node:20.17.0-bullseye

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

docker.io/nodered/node-red:latest

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

docker.io/node:16-alpine

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

docker.io/node:16

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

docker.io/node:18.17-alpine

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

docker.io/node:18.17-alpine

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

docker.io/node:lts-alpine

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

docker.io/node:20.10.0

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

docker.io/node:19-alpine

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

docker.io/node:20.15.1-alpine3.20

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

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

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

docker.io/node:20.11-alpine3.19

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

docker.io/node:23.0.0

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

docker.io/node:20.18.0-slim

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

docker.io/node:20.18.0

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

docker.io/node:14.15.0

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

docker.io/node:14-alpine

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

docker.io/node:18-bullseye

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

docker.io/node:22.10.0

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

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

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

docker.io/node:22-alpine3.20

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

docker.io/node:20.11.1

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

docker.io/node:20.17.0

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

docker.io/node:18.20.4

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

docker.io/node:16.20.1-buster

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

docker.io/node:18.12

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

docker.io/node:20-alpine3.20

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

docker.io/nodematic/ffmpeg-python:3.11

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

docker.io/node:16-alpine

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

docker.io/node:18-bookworm

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

docker.io/node:10.24.1

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

docker.io/node:23.3.0

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

docker.io/node:20-slim

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

docker.io/node:14.15.1

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

docker.io/node:18.16.0

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

docker.io/node:17.8-buster

linux/amd64 docker.io961.31MB2024-12-05 11:23
80

docker.io/node:16.14.2

linux/amd64 docker.io906.28MB2024-12-10 14:31
77

docker.io/node:22-alpine3.21

linux/amd64 docker.io157.21MB2024-12-11 17:21
141

docker.io/node:22.12.0

linux/amd64 docker.io1.12GB2024-12-20 10:58
82

docker.io/node:slim

linux/amd64 docker.io225.91MB2024-12-23 16:34
47

docker.io/node:current-bookworm

linux/amd64 docker.io1.12GB2024-12-23 16:37
45

docker.io/node:16-alpine3.15

linux/amd64 docker.io115.51MB2024-12-27 14:23
61

docker.io/node:20.11.1-slim

linux/amd64 docker.io200.75MB2025-01-06 15:12
30

docker.io/node:20-alpine

linux/arm64 docker.io132.30MB2025-01-07 10:30
35

docker.io/node:18.20.3

linux/amd64 docker.io1.09GB2025-01-13 17:29
23

docker.io/node:22.13.0-slim

linux/amd64 docker.io222.73MB2025-01-16 14:27
20

docker.io/node:8-onbuild

linux/amd64 docker.io901.21MB2025-01-16 16:00
18

docker.io/node:20.18.1

linux/amd64 docker.io1.10GB2025-01-16 16:39
24