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

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

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

```
源镜像 docker.io/vicuu/nginx:host
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/vicuu/nginx:host
镜像ID sha256:cdfe65e308f07620e2d23396183b1fd0fa01cac72200750f366c7ad4dfdc1e6c
镜像TAG host
大小 171.82MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD nginx -g daemon off;
启动入口
工作目录
OS/平台 linux/amd64
浏览量 45 次
贡献者
镜像创建 2021-07-25T14:08:49.591018687Z
同步时间 2025-03-08 12:55
更新时间 2025-03-29 22:36
开放端口
80/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
镜像标签
NGINX Docker Maintainers <docker-maint@nginx.com>: maintainer

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 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:cdfe65e308f07620e2d23396183b1fd0fa01cac72200750f366c7ad4dfdc1e6c",
    "RepoTags": [
        "vicuu/nginx:host",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/vicuu/nginx:host"
    ],
    "RepoDigests": [
        "vicuu/nginx@sha256:08d7b41cf96bb8599840d4a90128162efa160e1dd416b6a5aea18bff45f467db",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/vicuu/nginx@sha256:08d7b41cf96bb8599840d4a90128162efa160e1dd416b6a5aea18bff45f467db"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2021-07-25T14:08:49.591018687Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.3",
    "Author": "",
    "Config": {
        "Hostname": "a8d37ca6cd74",
        "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.12.2-1~stretch",
            "NJS_VERSION=1.12.2.0.1.14-1~stretch"
        ],
        "Cmd": [
            "nginx",
            "-g",
            "daemon off;"
        ],
        "Image": "nginx:1.12.2",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "maintainer": "NGINX Docker Maintainers \u003cdocker-maint@nginx.com\u003e"
        },
        "StopSignal": "SIGTERM"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 171818895,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/6571f748381c96d931458566ae2cfa624170cb10bebc0caa2be79eaf0928cac4/diff:/var/lib/docker/overlay2/63b820b1884702162dbbfe5dde3d7a0dedc764dda4df85c8bc7fd494963ddc83/diff:/var/lib/docker/overlay2/ab0625948b79b94d1ad20a1d2eb898297969bfd6ce36f157ef2a28a867ff1a75/diff",
            "MergedDir": "/var/lib/docker/overlay2/80f064e2230d16a1c1553bab11956d2af268ad10b9d301bbaa947c974dd67af1/merged",
            "UpperDir": "/var/lib/docker/overlay2/80f064e2230d16a1c1553bab11956d2af268ad10b9d301bbaa947c974dd67af1/diff",
            "WorkDir": "/var/lib/docker/overlay2/80f064e2230d16a1c1553bab11956d2af268ad10b9d301bbaa947c974dd67af1/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:d626a8ad97a1f9c1f2c4db3814751ada64f60aed927764a3f994fcd88363b659",
            "sha256:683a28d1d7fd3849521491fb863d9828857ec835a4f45e78f2f8f746b1a0dd2e",
            "sha256:4258832b25701af2507b45fe795c992147ed65971f9c1575e437d141dbebad08",
            "sha256:d42eff07a19a918a5c59cdced44c99fa0c613520f52abd7fc315b4c1c2975fe4"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-03-08T12:55:15.352029155+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