docker.io/library/node:20 linux/amd64

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

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

源镜像 docker.io/library/node:20
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:20
镜像ID sha256:1a8e51cfa7a515f1fe4439430880590c19d07eb19af434edc8a68951b2c82f48
镜像TAG 20
大小 1.10GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD node
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 354 次
贡献者
镜像创建 2024-07-24T14:04:57Z
同步时间 2024-08-07 13:43
更新时间 2025-01-18 10:06
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NODE_VERSION=20.16.0 YARN_VERSION=1.22.22

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-07-24 22:04:57  0.00B 设置默认要执行的命令
CMD ["node"]
                        
# 2024-07-24 22:04:57  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2024-07-24 22:04:57  388.00B 复制新文件或目录到容器中
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
                        
# 2024-07-24 22:04:57  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-07-24 22:04:57  0.00B 设置环境变量 YARN_VERSION
ENV YARN_VERSION=1.22.22
                        
# 2024-07-24 22:04:57  161.00MB 执行命令并创建新的镜像层
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     4ED778F539E3634C779C87C6D7062848A1AB005C     141F07595B7B3FFE74309A937405533BE57C7D57     74F12602B6F1C4E913FAA37AD3A89613643B6201     DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7     61FC681DFB92A079F1685E77973F295594EC4689     8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600     C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8     890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4     C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C     108F52B48DB57BB0CC439B2997B01419BD92F80A     A363A499291CBBC940DD62E41F10027AF002F8B0     CC68F5A3106FF448322E48ED27F5E38D5B0A215F   ; 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-07-24 22:04:57  0.00B 设置环境变量 NODE_VERSION
ENV NODE_VERSION=20.16.0
                        
# 2024-07-24 22:04:57  8.94KB 执行命令并创建新的镜像层
RUN /bin/sh -c groupadd --gid 1000 node   && useradd --uid 1000 --gid node --shell /bin/bash --create-home node # buildkit
                        
# 2024-07-23 14:07:46  587.41MB 
/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/*
                        
# 2024-07-23 14:06:50  176.69MB 
/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/*
                        
# 2024-07-23 14:06:32  48.44MB 
/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/*
                        
# 2024-07-23 13:24:03  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2024-07-23 13:24:03  116.51MB 
/bin/sh -c #(nop) ADD file:430cca9ad155514d8c818e860e66e2aeccfb6230874d4faf446a1d0c2fc1054f in / 
                        
                    

镜像信息

{
    "Id": "sha256:1a8e51cfa7a515f1fe4439430880590c19d07eb19af434edc8a68951b2c82f48",
    "RepoTags": [
        "node:20",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node:20"
    ],
    "RepoDigests": [
        "node@sha256:1ae9ba874435551280e95c8a8e74adf8a48d72b564bf9dfe4718231f2144c88f",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/node@sha256:7f0e372e66623dd26aa7e7156dab18e3bb02f10f08c69aca1ecba7c538f4d6d4"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-07-24T14:04: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.16.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": 1095402726,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/12a0507388638e967feef1e263ace3eb61c677853de29975ca8f7e030bc8989a/diff:/var/lib/docker/overlay2/db972625b158df6386ee688056672131de2266b3166dd1793a8a539fcb45b5fa/diff:/var/lib/docker/overlay2/509caebe79a794750fe2f5fb955fffdfe4d60fad6ad043e2b6bde7bc21e64ff2/diff:/var/lib/docker/overlay2/9e12ee5922043944db2cc12142acc614a4323069ed09baf11d16a4706e430deb/diff:/var/lib/docker/overlay2/da03dc61d7fe4fc49edd7cf326630c19a3b0b05430ae28c14610e930628da166/diff:/var/lib/docker/overlay2/2de2acd2846a9dfd039cb987c535dda2852886b1cac9ad5cdb29283ce33686de/diff:/var/lib/docker/overlay2/51771a51d7e009f5eda95ceae20bc59847339883225d0cbc6b0fd10dc0b2aa5c/diff",
            "MergedDir": "/var/lib/docker/overlay2/074208d0a7aa0fe62737d4efe1297aa666e3e71994b280fe2ae485b991f9a517/merged",
            "UpperDir": "/var/lib/docker/overlay2/074208d0a7aa0fe62737d4efe1297aa666e3e71994b280fe2ae485b991f9a517/diff",
            "WorkDir": "/var/lib/docker/overlay2/074208d0a7aa0fe62737d4efe1297aa666e3e71994b280fe2ae485b991f9a517/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:f6faf32734e0870d82ea890737958fe33ce9ddfed27b3b157576d2aadbab3322",
            "sha256:7cfafa82cfd2b6a92aeb90093e38fb88fa4377948d71bd970d11a51bae16d2f1",
            "sha256:0905150af928fc88e784dcad5ba98d5f3c2ab28c51c30ac7c7aa8599100cf02f",
            "sha256:ffe60aac26fce04aa507ee52ebf97f2da44fa5a2b475099d4260349c3e1cc329",
            "sha256:98c324a8a97af7ca4de3d1a5d4b634d2905dc12c444bdd3d5c1804d2909b12cb",
            "sha256:66f53b22a5dd1f2e5663723b5a79e1c0db84f992147913192909cb5be516e2aa",
            "sha256:c96477477af6b1c219cf8aaa1281210dca03c4b2ee4c6ed5c025058e605faf85",
            "sha256:9b1a5fabb29c8bafac0fd35ba8839443afdb12a33342b856142de31c8aa1044a"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-08-07T13:43:37.015809305+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
353

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
154

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
111

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
82

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

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

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
56

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