docker.io/nginx:latest linux/amd64

docker.io/nginx:latest - 国内下载镜像源 浏览次数:1772

温馨提示:此镜像为latest tag镜像,本站无法保证此版本为最新镜像

nginx镜像用于运行Nginx Web 服务器。
源镜像 docker.io/nginx:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:latest
镜像ID sha256:5ef79149e0ec84a7a9f9284c3f91aa3c20608f8391f5445eabe92ef07dbda03c
镜像TAG latest
大小 187.69MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD nginx -g daemon off;
启动入口 /docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 1772 次
贡献者
镜像创建 2024-08-14T21:31:12Z
同步时间 2024-08-25 17:25
更新时间 2024-11-21 16:43
开放端口
80/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NGINX_VERSION=1.27.1 NJS_VERSION=0.8.5 NJS_RELEASE=1~bookworm PKG_RELEASE=1~bookworm DYNPKG_RELEASE=2~bookworm
镜像标签
NGINX Docker Maintainers <docker-maint@nginx.com>: maintainer

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:latest  docker.io/nginx:latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:latest
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:latest  docker.io/nginx:latest

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-08-15 05:31:12 CMD ["nginx" "-g" "daemon off;"]
0.00B 2024-08-15 05:31:12 STOPSIGNAL SIGQUIT
0.00B 2024-08-15 05:31:12 EXPOSE map[80/tcp:{}]
0.00B 2024-08-15 05:31:12 ENTRYPOINT ["/docker-entrypoint.sh"]
4.62KB 2024-08-15 05:31:12 COPY 30-tune-worker-processes.sh /docker-entrypoint.d # buildkit
3.02KB 2024-08-15 05:31:12 COPY 20-envsubst-on-templates.sh /docker-entrypoint.d # buildkit
336.00B 2024-08-15 05:31:12 COPY 15-local-resolvers.envsh /docker-entrypoint.d # buildkit
2.12KB 2024-08-15 05:31:12 COPY 10-listen-on-ipv6-by-default.sh /docker-entrypoint.d # buildkit
1.62KB 2024-08-15 05:31:12 COPY docker-entrypoint.sh / # buildkit
112.91MB 2024-08-15 05:31:12 RUN /bin/sh -c set -x && groupadd --system --gid 101 nginx && useradd --system --gid nginx --no-create-home --home /nonexistent --comment "nginx user" --shell /bin/false --uid 101 nginx && apt-get update && apt-get install --no-install-recommends --no-install-suggests -y gnupg1 ca-certificates && NGINX_GPGKEYS="573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62 8540A6F18833A80E9C1653A42FD21310B49F6B46 9E9BE90EACBCDE69FE9B204CBCDCD8A38D88A2B3"; NGINX_GPGKEY_PATH=/etc/apt/keyrings/nginx-archive-keyring.gpg; export GNUPGHOME="$(mktemp -d)"; found=''; for NGINX_GPGKEY in $NGINX_GPGKEYS; do for server in hkp://keyserver.ubuntu.com:80 pgp.mit.edu ; do echo "Fetching GPG key $NGINX_GPGKEY from $server"; gpg1 --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; done; test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; done; gpg1 --export "$NGINX_GPGKEYS" > "$NGINX_GPGKEY_PATH" ; rm -rf "$GNUPGHOME"; apt-get remove --purge --auto-remove -y gnupg1 && rm -rf /var/lib/apt/lists/* && dpkgArch="$(dpkg --print-architecture)" && nginxPackages=" nginx=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-xslt=${NGINX_VERSION}-${DYNPKG_RELEASE} nginx-module-geoip=${NGINX_VERSION}-${DYNPKG_RELEASE} nginx-module-image-filter=${NGINX_VERSION}-${DYNPKG_RELEASE} nginx-module-njs=${NGINX_VERSION}+${NJS_VERSION}-${NJS_RELEASE} " && case "$dpkgArch" in amd64|arm64) echo "deb [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/mainline/debian/ bookworm nginx" >> /etc/apt/sources.list.d/nginx.list && apt-get update ;; *) echo "deb-src [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/mainline/debian/ bookworm nginx" >> /etc/apt/sources.list.d/nginx.list && tempDir="$(mktemp -d)" && chmod 777 "$tempDir" && savedAptMark="$(apt-mark showmanual)" && apt-get update && apt-get build-dep -y $nginxPackages && ( cd "$tempDir" && DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile $nginxPackages ) && apt-mark showmanual | xargs apt-mark auto > /dev/null && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; } && ls -lAFh "$tempDir" && ( cd "$tempDir" && dpkg-scanpackages . > Packages ) && grep '^Package: ' "$tempDir/Packages" && echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list && apt-get -o Acquire::GzipIndexes=false update ;; esac && apt-get install --no-install-recommends --no-install-suggests -y $nginxPackages gettext-base curl && apt-get remove --purge --auto-remove -y && rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/nginx.list && if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove && rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log && mkdir /docker-entrypoint.d # buildkit
0.00B 2024-08-15 05:31:12 ENV DYNPKG_RELEASE=2~bookworm
0.00B 2024-08-15 05:31:12 ENV PKG_RELEASE=1~bookworm
0.00B 2024-08-15 05:31:12 ENV NJS_RELEASE=1~bookworm
0.00B 2024-08-15 05:31:12 ENV NJS_VERSION=0.8.5
0.00B 2024-08-15 05:31:12 ENV NGINX_VERSION=1.27.1
0.00B 2024-08-15 05:31:12 LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
0.00B 2024-08-13 08:20:20 /bin/sh -c #(nop) CMD ["bash"]
74.78MB 2024-08-13 08:20:20 /bin/sh -c #(nop) ADD file:3d9897cfe027ecc7cbdb16e74a676ed143725ea2d08dbb0dde23309e041de0f3 in /

镜像信息

{
    "Id": "sha256:5ef79149e0ec84a7a9f9284c3f91aa3c20608f8391f5445eabe92ef07dbda03c",
    "RepoTags": [
        "nginx:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:latest"
    ],
    "RepoDigests": [
        "nginx@sha256:447a8665cc1dab95b1ca778e162215839ccbb9189104c79d7ec3a81e14577add",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx@sha256:127262f8c4c716652d0e7863bba3b8c45bc9214a57d13786c854272102f7c945"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-08-14T21:31:12Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "80/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "NGINX_VERSION=1.27.1",
            "NJS_VERSION=0.8.5",
            "NJS_RELEASE=1~bookworm",
            "PKG_RELEASE=1~bookworm",
            "DYNPKG_RELEASE=2~bookworm"
        ],
        "Cmd": [
            "nginx",
            "-g",
            "daemon off;"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "/docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "maintainer": "NGINX Docker Maintainers \u003cdocker-maint@nginx.com\u003e"
        },
        "StopSignal": "SIGQUIT"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 187694648,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/4f45580e2c1bf8e76644cea9eaa07be040c9b68c59405b51eeb74a4cf41c9a91/diff:/var/lib/docker/overlay2/e6deb66bf6cacbb13ce7aba76e6f811c6c8ab1d91d7db521d017a9cbee1d133b/diff:/var/lib/docker/overlay2/f0c4b347d0c97387bc01dcc336b558bb5b608486428a1246e1a3edf9f16c50b9/diff:/var/lib/docker/overlay2/227e23f360dd44ad417c274c4ddad776db990638b51d5967a754696244741339/diff:/var/lib/docker/overlay2/73a14529b7919e948e365f2082bdec8a5c499a3929a6e6da463ed2f721b170ce/diff:/var/lib/docker/overlay2/28a24a5fb6be65d3d873aa33e83fc3cf74c5335993229b3bd346b9f5da4a3773/diff",
            "MergedDir": "/var/lib/docker/overlay2/22d5aecbc2d1eef92bdb8c8e42f88fe4e30bb96056c22864f4866a961cdd966f/merged",
            "UpperDir": "/var/lib/docker/overlay2/22d5aecbc2d1eef92bdb8c8e42f88fe4e30bb96056c22864f4866a961cdd966f/diff",
            "WorkDir": "/var/lib/docker/overlay2/22d5aecbc2d1eef92bdb8c8e42f88fe4e30bb96056c22864f4866a961cdd966f/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:9853575bc4f955c5892dd64187538a6cd02dba6968eba9201854876a7a257034",
            "sha256:72db5db515fdd9ae82b759fc207fdfbcc31567c28bb87950abc94ce1d60b2d40",
            "sha256:8b87c0c6652495401acfbe029ede84a5f327664770561ba5f8b7fe9149f52dd0",
            "sha256:ec1a2ca4ac8784def146544fc7068db06a188d2da4fd7c4e134a76415b8bc1a8",
            "sha256:55e54df86207fa772302a6fc1e78eb60bd7e3ebd4f913ef7f5ad668ad69ab64d",
            "sha256:f4f00eaedec7933a48b09f3948c685c41d55f0bf5906295dd022c05b65082344",
            "sha256:5f0272c6e96d5cd8ea1c6507cfce81980d4b99322bd037d99250a79d4c0b9f1a"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-08-25T17:24:41.572597165+08:00"
    }
}

更多版本

docker.io/nginx:mainline-alpine3.18-perl

linux/amd64 docker.io78.10MB2024-03-11 14:24
612

docker.io/nginx:alpine3.18-perl

linux/amd64 docker.io78.10MB2024-03-11 14:24
548

docker.io/nginx:1.27

linux/amd64 docker.io187.64MB2024-06-14 16:00
721

docker.io/nginx:1.27.0

linux/amd64 docker.io187.64MB2024-06-14 16:05
3555

docker.io/nginx:alpine

linux/amd64 docker.io48.31MB2024-06-19 13:46
567

docker.io/nginx:1.26.1-alpine

linux/amd64 docker.io48.31MB2024-06-19 15:44
1197

docker.io/nginx:stable

linux/amd64 docker.io187.66MB2024-06-19 16:39
2183

docker.io/nginx:1.25.5-bookworm-perl

linux/amd64 docker.io235.67MB2024-06-28 01:33
277

docker.io/nginx:1.18.0

linux/amd64 docker.io132.90MB2024-06-29 17:58
370

docker.io/nginx:stable

linux/arm64 docker.io193.00MB2024-07-08 15:35
1119

docker.io/nginx:1.21

linux/amd64 docker.io141.53MB2024-07-11 14:19
588

docker.io/nginx:1.26.1-alpine-slim

linux/amd64 docker.io12.01MB2024-07-16 16:21
569

docker.io/nginx:1.26.1-alpine

linux/arm64 docker.io44.84MB2024-07-19 15:23
242

docker.io/nginx:alpine

linux/arm64 docker.io44.84MB2024-07-19 20:39
496

docker.io/nginx:1.20.2-alpine

linux/amd64 docker.io23.16MB2024-07-28 09:09
188

docker.io/nginx:1.25.2-alpine

linux/amd64 docker.io42.60MB2024-08-12 08:27
209

docker.io/nginx:1.16

linux/arm64 docker.io120.09MB2024-08-15 14:56
666

docker.io/nginx:latest

linux/amd64 docker.io187.69MB2024-08-25 17:25
1771

docker.io/nginx:1.26.2

linux/amd64 docker.io187.69MB2024-08-27 14:29
431

docker.io/nginx:1.26.1

linux/amd64 docker.io187.60MB2024-08-27 14:31
509

docker.io/nginx:1.25.5

linux/amd64 docker.io187.66MB2024-08-27 14:32
157

docker.io/nginx:1.27.1

linux/amd64 docker.io187.69MB2024-08-27 14:47
521

docker.io/nginx:1.22.1-alpine

linux/amd64 docker.io40.98MB2024-09-02 10:33
169

docker.io/nginx:1.26.2-alpine

linux/amd64 docker.io43.26MB2024-09-02 10:34
170

docker.io/nginx:1.27-alpine-perl

linux/amd64 docker.io80.79MB2024-09-09 19:18
155

docker.io/nginx:1.27.1-alpine

linux/amd64 docker.io43.24MB2024-09-13 16:27
164

docker.io/nginx:1.20.2

linux/amd64 docker.io141.50MB2024-09-14 16:48
186

docker.io/nginx:1.14.1

linux/amd64 docker.io109.08MB2024-09-24 00:17
182

docker.io/nginx:1.27-alpine

linux/amd64 docker.io43.24MB2024-09-26 17:25
143

docker.io/nginx:1.23.2

linux/amd64 docker.io141.77MB2024-09-29 17:58
111

docker.io/nginx:1.26.1

linux/arm docker.io135.58MB2024-09-29 18:04
124

docker.io/nginx:1.26.1

linux/arm64 docker.io193.00MB2024-09-29 18:07
143

docker.io/nginx:1.23.2

linux/arm docker.io109.21MB2024-09-29 18:09
125

docker.io/nginx:alpine3.20

linux/amd64 docker.io47.00MB2024-10-15 19:50
163

docker.io/nginxinc/nginx-unprivileged:1.27-alpine

linux/amd64 docker.io47.02MB2024-10-18 22:04
594

docker.io/nginx:1.21.4-alpine

linux/amd64 docker.io23.20MB2024-10-21 17:39
87

docker.io/nginxinc/nginx-unprivileged:1.25-alpine

linux/amd64 docker.io48.32MB2024-10-22 17:25
247

docker.io/nginx:1.24.0

linux/arm64 docker.io135.14MB2024-10-24 17:53
163

docker.io/nginx:1.24.0

linux/amd64 docker.io142.31MB2024-10-25 09:58
244

docker.io/nginx:1.13.0

linux/amd64 docker.io109.39MB2024-10-29 14:03
174

docker.io/nginx:1.27.2-alpine-slim

linux/amd64 docker.io11.79MB2024-10-30 17:48
178

docker.io/nginx:1.27.2-alpine

linux/arm64 docker.io50.84MB2024-10-31 11:33
211

docker.io/nginx:1.27.2

linux/arm64 docker.io196.88MB2024-10-31 11:38
272

docker.io/nginx:1.27.2-perl

linux/amd64 docker.io239.68MB2024-11-04 11:39
50

docker.io/nginx/nginx-ingress:3.3.2

linux/amd64 docker.io302.96MB2024-11-05 19:06
30

docker.io/nginx:1.17.1

linux/amd64 docker.io109.36MB2024-11-18 16:01
23

docker.io/nginx:1.17.2

linux/amd64 docker.io125.85MB2024-11-20 17:53
8

docker.io/nginx:1.17.3

linux/amd64 docker.io125.98MB2024-11-20 17:56
10

docker.io/nginx:1.17.4

linux/amd64 docker.io125.99MB2024-11-20 18:15
9