docker.io/vicuu/nginx:hello linux/amd64

docker.io/vicuu/nginx:hello - 国内下载镜像源 浏览次数:56
```html

这是一个基于Nginx 的Docker镜像,由用户 vicuu 构建并发布到 Docker Hub。

```
源镜像 docker.io/vicuu/nginx:hello
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/vicuu/nginx:hello
镜像ID sha256:6ba8e03360bf22f0ec184c02c24b08bf1406ffcf349e4d3ec785400b234ed493
镜像TAG hello
大小 171.84MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD nginx -g daemon off;
启动入口
工作目录
OS/平台 linux/amd64
浏览量 56 次
贡献者
镜像创建 2021-09-09T12:23:47.504542225Z
同步时间 2025-03-08 12:26
更新时间 2025-03-28 20:26
开放端口
80/tcp
环境变量
HELLO_PORT_5678_TCP_ADDR=10.98.162.97 KUBERNETES_PORT_443_TCP_PORT=443 HELLO_PORT_5678_TCP_PORT=5678 HELLO_SERVICE_PORT=5678 HELLO_SERVICE_PORT_5678_80=5678 HELLO_PORT_5678_TCP=tcp://10.98.162.97:5678 HELLO_PORT_5678_TCP_PROTO=tcp KUBERNETES_PORT=tcp://10.96.0.1:443 KUBERNETES_PORT_443_TCP_ADDR=10.96.0.1 KUBERNETES_PORT_443_TCP=tcp://10.96.0.1:443 KUBERNETES_SERVICE_HOST=10.96.0.1 KUBERNETES_SERVICE_PORT_HTTPS=443 HELLO_SERVICE_HOST=10.98.162.97 HELLO_PORT=tcp://10.98.162.97:5678 KUBERNETES_SERVICE_PORT=443 KUBERNETES_PORT_443_TCP_PROTO=tcp PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NGINX_VERSION=1.12.2-1~stretch NJS_VERSION=1.12.2.0.1.14-1~stretch
镜像标签
35d2ddc7: annotation.io.kubernetes.container.hash 6: annotation.io.kubernetes.container.restartCount /dev/termination-log: annotation.io.kubernetes.container.terminationMessagePath File: annotation.io.kubernetes.container.terminationMessagePolicy 30: annotation.io.kubernetes.pod.terminationGracePeriod /var/log/pods/ing-internal_hello-c54c84bcc-9q5kx_976cf6d0-d9f1-4fcb-8457-fb054931c0d2/nginx/6.log: io.kubernetes.container.logpath nginx: io.kubernetes.container.name container: io.kubernetes.docker.type hello-c54c84bcc-9q5kx: io.kubernetes.pod.name ing-internal: io.kubernetes.pod.namespace 976cf6d0-d9f1-4fcb-8457-fb054931c0d2: io.kubernetes.pod.uid bcd0fba6ec2fcfc6b948699c5c6a8bb2e562d7f17d64de749f3b9c4f593e6eb1: io.kubernetes.sandbox.id NGINX Docker Maintainers <docker-maint@nginx.com>: maintainer

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2021-09-09 20:23:47  20.07KB 
nginx -g daemon off;
                        
# 2021-07-25 22:08:49  63.44MB 
nginx -g daemon off;
                        
# 2018-04-30 21:57:12  0.00B 
/bin/sh -c #(nop)  CMD ["nginx" "-g" "daemon off;"]
                        
# 2018-04-30 21:57:12  0.00B 
/bin/sh -c #(nop)  STOPSIGNAL [SIGTERM]
                        
# 2018-04-30 21:57:11  0.00B 
/bin/sh -c #(nop)  EXPOSE 80/tcp
                        
# 2018-04-30 21:57:11  22.00B 
/bin/sh -c ln -sf /dev/stdout /var/log/nginx/access.log 	&& ln -sf /dev/stderr /var/log/nginx/error.log
                        
# 2018-04-30 21:57:10  53.09MB 
/bin/sh -c set -x 	&& apt-get update 	&& apt-get install --no-install-recommends --no-install-suggests -y gnupg1 	&& 	NGINX_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62; 	found=''; 	for server in 		ha.pool.sks-keyservers.net 		hkp://keyserver.ubuntu.com:80 		hkp://p80.pool.sks-keyservers.net:80 		pgp.mit.edu 	; do 		echo "Fetching GPG key $NGINX_GPGKEY from $server"; 		apt-key adv --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; 	apt-get remove --purge --auto-remove -y gnupg1 && rm -rf /var/lib/apt/lists/* 	&& dpkgArch="$(dpkg --print-architecture)" 	&& nginxPackages=" 		nginx=${NGINX_VERSION} 		nginx-module-xslt=${NGINX_VERSION} 		nginx-module-geoip=${NGINX_VERSION} 		nginx-module-image-filter=${NGINX_VERSION} 		nginx-module-njs=${NJS_VERSION} 	" 	&& case "$dpkgArch" in 		amd64|i386) 			echo "deb http://nginx.org/packages/debian/ stretch nginx" >> /etc/apt/sources.list 			&& apt-get update 			;; 		*) 			echo "deb-src http://nginx.org/packages/debian/ stretch nginx" >> /etc/apt/sources.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 	&& rm -rf /var/lib/apt/lists/* 		&& if [ -n "$tempDir" ]; then 		apt-get purge -y --auto-remove 		&& rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; 	fi
                        
# 2018-04-30 21:56:58  0.00B 
/bin/sh -c #(nop)  ENV NJS_VERSION=1.12.2.0.1.14-1~stretch
                        
# 2018-04-30 21:56:57  0.00B 
/bin/sh -c #(nop)  ENV NGINX_VERSION=1.12.2-1~stretch
                        
# 2018-04-30 21:55:06  0.00B 
/bin/sh -c #(nop)  LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
                        
# 2018-04-28 15:09:59  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2018-04-28 15:09:59  55.29MB 
/bin/sh -c #(nop) ADD file:ec5be7eec56a749752ca284359ece04f5eb0b981eac08b8855454c6b16e3893c in / 
                        
                    

镜像信息

{
    "Id": "sha256:6ba8e03360bf22f0ec184c02c24b08bf1406ffcf349e4d3ec785400b234ed493",
    "RepoTags": [
        "vicuu/nginx:hello",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/vicuu/nginx:hello"
    ],
    "RepoDigests": [
        "vicuu/nginx@sha256:6ab7771fa243c2773b5f2344f00f70a833a45f4bdfb0b26e93f69b5eedfb51fb",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/vicuu/nginx@sha256:6ab7771fa243c2773b5f2344f00f70a833a45f4bdfb0b26e93f69b5eedfb51fb"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2021-09-09T12:23:47.504542225Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.7",
    "Author": "",
    "Config": {
        "Hostname": "hello-c54c84bcc-9q5kx",
        "Domainname": "",
        "User": "0",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "80/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "HELLO_PORT_5678_TCP_ADDR=10.98.162.97",
            "KUBERNETES_PORT_443_TCP_PORT=443",
            "HELLO_PORT_5678_TCP_PORT=5678",
            "HELLO_SERVICE_PORT=5678",
            "HELLO_SERVICE_PORT_5678_80=5678",
            "HELLO_PORT_5678_TCP=tcp://10.98.162.97:5678",
            "HELLO_PORT_5678_TCP_PROTO=tcp",
            "KUBERNETES_PORT=tcp://10.96.0.1:443",
            "KUBERNETES_PORT_443_TCP_ADDR=10.96.0.1",
            "KUBERNETES_PORT_443_TCP=tcp://10.96.0.1:443",
            "KUBERNETES_SERVICE_HOST=10.96.0.1",
            "KUBERNETES_SERVICE_PORT_HTTPS=443",
            "HELLO_SERVICE_HOST=10.98.162.97",
            "HELLO_PORT=tcp://10.98.162.97:5678",
            "KUBERNETES_SERVICE_PORT=443",
            "KUBERNETES_PORT_443_TCP_PROTO=tcp",
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "NGINX_VERSION=1.12.2-1~stretch",
            "NJS_VERSION=1.12.2.0.1.14-1~stretch"
        ],
        "Cmd": [
            "nginx",
            "-g",
            "daemon off;"
        ],
        "Healthcheck": {
            "Test": [
                "NONE"
            ]
        },
        "Image": "sha256:cdfe65e308f07620e2d23396183b1fd0fa01cac72200750f366c7ad4dfdc1e6c",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "annotation.io.kubernetes.container.hash": "35d2ddc7",
            "annotation.io.kubernetes.container.restartCount": "6",
            "annotation.io.kubernetes.container.terminationMessagePath": "/dev/termination-log",
            "annotation.io.kubernetes.container.terminationMessagePolicy": "File",
            "annotation.io.kubernetes.pod.terminationGracePeriod": "30",
            "io.kubernetes.container.logpath": "/var/log/pods/ing-internal_hello-c54c84bcc-9q5kx_976cf6d0-d9f1-4fcb-8457-fb054931c0d2/nginx/6.log",
            "io.kubernetes.container.name": "nginx",
            "io.kubernetes.docker.type": "container",
            "io.kubernetes.pod.name": "hello-c54c84bcc-9q5kx",
            "io.kubernetes.pod.namespace": "ing-internal",
            "io.kubernetes.pod.uid": "976cf6d0-d9f1-4fcb-8457-fb054931c0d2",
            "io.kubernetes.sandbox.id": "bcd0fba6ec2fcfc6b948699c5c6a8bb2e562d7f17d64de749f3b9c4f593e6eb1",
            "maintainer": "NGINX Docker Maintainers \u003cdocker-maint@nginx.com\u003e"
        },
        "StopSignal": "SIGTERM"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 171838964,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/80f064e2230d16a1c1553bab11956d2af268ad10b9d301bbaa947c974dd67af1/diff:/var/lib/docker/overlay2/6571f748381c96d931458566ae2cfa624170cb10bebc0caa2be79eaf0928cac4/diff:/var/lib/docker/overlay2/63b820b1884702162dbbfe5dde3d7a0dedc764dda4df85c8bc7fd494963ddc83/diff:/var/lib/docker/overlay2/ab0625948b79b94d1ad20a1d2eb898297969bfd6ce36f157ef2a28a867ff1a75/diff",
            "MergedDir": "/var/lib/docker/overlay2/d92e8c8f34d46ef3342e1a15a8b2dc7baa6be93c71b83ba51c92d666a75d2721/merged",
            "UpperDir": "/var/lib/docker/overlay2/d92e8c8f34d46ef3342e1a15a8b2dc7baa6be93c71b83ba51c92d666a75d2721/diff",
            "WorkDir": "/var/lib/docker/overlay2/d92e8c8f34d46ef3342e1a15a8b2dc7baa6be93c71b83ba51c92d666a75d2721/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:d626a8ad97a1f9c1f2c4db3814751ada64f60aed927764a3f994fcd88363b659",
            "sha256:683a28d1d7fd3849521491fb863d9828857ec835a4f45e78f2f8f746b1a0dd2e",
            "sha256:4258832b25701af2507b45fe795c992147ed65971f9c1575e437d141dbebad08",
            "sha256:d42eff07a19a918a5c59cdced44c99fa0c613520f52abd7fc315b4c1c2975fe4",
            "sha256:34a1b84a2b3bbfde8cadcd4191b83ec40b029a7c92b8ac423eb74f43c2b78e53"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-03-08T12:26:19.486059441+08:00"
    }
}

更多版本

docker.io/vicuu/nginx:hello

linux/amd64 docker.io171.84MB2025-03-08 12:26
55

docker.io/vicuu/nginx:host

linux/amd64 docker.io171.82MB2025-03-08 12:55
44