docker.io/80imike/check-k8s-network:latest linux/amd64

docker.io/80imike/check-k8s-network:latest - 国内下载镜像源 浏览次数:29

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

```html

这是一个用于检查 Kubernetes 网络连接的 Docker 镜像。

```
源镜像 docker.io/80imike/check-k8s-network:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/80imike/check-k8s-network:latest
镜像ID sha256:528d832276ea6f8d3703a6b82ff35f96193275d9ed7ab8e4f06e36b6782d831b
镜像TAG latest
大小 121.12MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 python check_k8s_network
工作目录 /app
OS/平台 linux/amd64
浏览量 29 次
贡献者
镜像创建 2024-07-11T17:09:20.584299039+08:00
同步时间 2024-12-11 10:55
更新时间 2024-12-26 01:30
环境变量
PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568 PYTHON_VERSION=3.9.19 PYTHON_PIP_VERSION=23.0.1 PYTHON_SETUPTOOLS_VERSION=58.1.0 PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/e03e1607ad60522cf34a92e834138eb89f57667c/public/get-pip.py PYTHON_GET_PIP_SHA256=ee09098395e42eb1f82ef4acb231a767a6ae85504a9cf9983223df0a7cbd35d7 FORCE_COLOR=1 TERM=xterm-256color
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.20.1 扫描引擎: Trivy 扫描时间: 2024-12-11 10:56

低危漏洞:2 中危漏洞:17 高危漏洞:6 严重漏洞:3

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/80imike/check-k8s-network:latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/80imike/check-k8s-network:latest  docker.io/80imike/check-k8s-network:latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/80imike/check-k8s-network:latest
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/80imike/check-k8s-network:latest  docker.io/80imike/check-k8s-network:latest

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-07-11 17:09:20  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["python" "check_k8s_network"]
                        
# 2024-07-11 17:09:20  7.60MB 执行命令并创建新的镜像层
RUN |1 KUBECTL_VERSION=v1.30.0 /bin/sh -c pip install argparse prettytable termcolor # buildkit
                        
# 2024-07-11 17:09:17  8.62KB 复制新文件或目录到容器中
COPY check_k8s_network.py /app/check_k8s_network # buildkit
                        
# 2024-07-11 17:09:17  0.00B 设置工作目录为/app
WORKDIR /app
                        
# 2024-07-11 17:09:17  0.00B 设置环境变量 FORCE_COLOR TERM
ENV FORCE_COLOR=1 TERM=xterm-256color
                        
# 2024-07-11 17:09:17  51.45MB 执行命令并创建新的镜像层
RUN |1 KUBECTL_VERSION=v1.30.0 /bin/sh -c curl -LO "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl" &&     chmod +x ./kubectl &&     mv ./kubectl /usr/local/bin/kubectl # buildkit
                        
# 2024-07-11 17:09:17  0.00B 定义构建参数
ARG KUBECTL_VERSION=v1.30.0
                        
# 2024-07-11 17:08:49  8.62MB 执行命令并创建新的镜像层
RUN /bin/sh -c apk update && apk add --no-cache     curl     bash     netcat-openbsd # buildkit
                        
# 2024-07-08 10:10:08  0.00B 设置默认要执行的命令
CMD ["python3"]
                        
# 2024-07-08 10:10:08  9.62MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 		wget -O get-pip.py "$PYTHON_GET_PIP_URL"; 	echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; 		export PYTHONDONTWRITEBYTECODE=1; 		python get-pip.py 		--disable-pip-version-check 		--no-cache-dir 		--no-compile 		"pip==$PYTHON_PIP_VERSION" 		"setuptools==$PYTHON_SETUPTOOLS_VERSION" 	; 	rm -f get-pip.py; 		pip --version # buildkit
                        
# 2024-07-08 10:10:08  0.00B 设置环境变量 PYTHON_GET_PIP_SHA256
ENV PYTHON_GET_PIP_SHA256=ee09098395e42eb1f82ef4acb231a767a6ae85504a9cf9983223df0a7cbd35d7
                        
# 2024-07-08 10:10:08  0.00B 设置环境变量 PYTHON_GET_PIP_URL
ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/e03e1607ad60522cf34a92e834138eb89f57667c/public/get-pip.py
                        
# 2024-07-08 10:10:08  0.00B 设置环境变量 PYTHON_SETUPTOOLS_VERSION
ENV PYTHON_SETUPTOOLS_VERSION=58.1.0
                        
# 2024-07-08 10:10:08  0.00B 设置环境变量 PYTHON_PIP_VERSION
ENV PYTHON_PIP_VERSION=23.0.1
                        
# 2024-07-08 10:10:08  32.00B 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	for src in idle3 pydoc3 python3 python3-config; do 		dst="$(echo "$src" | tr -d 3)"; 		[ -s "/usr/local/bin/$src" ]; 		[ ! -e "/usr/local/bin/$dst" ]; 		ln -svT "$src" "/usr/local/bin/$dst"; 	done # buildkit
                        
# 2024-07-08 10:10:08  35.00MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 		apk add --no-cache --virtual .build-deps 		gnupg 		tar 		xz 				bluez-dev 		bzip2-dev 		dpkg-dev dpkg 		expat-dev 		findutils 		gcc 		gdbm-dev 		libc-dev 		libffi-dev 		libnsl-dev 		libtirpc-dev 		linux-headers 		make 		ncurses-dev 		openssl-dev 		pax-utils 		readline-dev 		sqlite-dev 		tcl-dev 		tk 		tk-dev 		util-linux-dev 		xz-dev 		zlib-dev 	; 		wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; 	wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; 	GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; 	gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; 	gpg --batch --verify python.tar.xz.asc python.tar.xz; 	gpgconf --kill all; 	rm -rf "$GNUPGHOME" python.tar.xz.asc; 	mkdir -p /usr/src/python; 	tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; 	rm python.tar.xz; 		cd /usr/src/python; 	gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; 	./configure 		--build="$gnuArch" 		--enable-loadable-sqlite-extensions 		--enable-optimizations 		--enable-option-checking=fatal 		--enable-shared 		--with-system-expat 		--without-ensurepip 	; 	nproc="$(nproc)"; 	EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; 	LDFLAGS="${LDFLAGS:--Wl},--strip-all"; 	make -j "$nproc" 		"EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" 		"LDFLAGS=${LDFLAGS:-}" 		"PROFILE_TASK=${PROFILE_TASK:-}" 	; 	rm python; 	make -j "$nproc" 		"EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" 		"LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" 		"PROFILE_TASK=${PROFILE_TASK:-}" 		python 	; 	make install; 		cd /; 	rm -rf /usr/src/python; 		find /usr/local -depth 		\( 			\( -type d -a \( -name test -o -name tests -o -name idle_test \) \) 			-o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) 		\) -exec rm -rf '{}' + 	; 		find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' 		| tr ',' '\n' 		| sort -u 		| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' 		| xargs -rt apk add --no-network --virtual .python-rundeps 	; 	apk del --no-network .build-deps; 		python3 --version # buildkit
                        
# 2024-07-08 10:10:08  0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.9.19
                        
# 2024-07-08 10:10:08  0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568
                        
# 2024-07-08 10:10:08  1.02MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	apk add --no-cache 		ca-certificates 		tzdata 	; # buildkit
                        
# 2024-07-08 10:10:08  0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
                        
# 2024-07-08 10:10:08  0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-06-21 04:16:58  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2024-06-21 04:16:57  7.80MB 
/bin/sh -c #(nop) ADD file:33ebe56b967747a97dcec01bc2559962bee8823686c9739d26be060381bbb3ca in / 
                        
                    

镜像信息

{
    "Id": "sha256:528d832276ea6f8d3703a6b82ff35f96193275d9ed7ab8e4f06e36b6782d831b",
    "RepoTags": [
        "80imike/check-k8s-network:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/80imike/check-k8s-network:latest"
    ],
    "RepoDigests": [
        "80imike/check-k8s-network@sha256:c99814b003728d11c8ca770597e1878808875bbf585a9e012403e9649c09345b",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/80imike/check-k8s-network@sha256:aa23cc3603f9fd3341df059c50a9b6ea4ec0248048f4dec1adc2673e099ebcd1"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-07-11T17:09:20.584299039+08:00",
    "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/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "LANG=C.UTF-8",
            "GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568",
            "PYTHON_VERSION=3.9.19",
            "PYTHON_PIP_VERSION=23.0.1",
            "PYTHON_SETUPTOOLS_VERSION=58.1.0",
            "PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/e03e1607ad60522cf34a92e834138eb89f57667c/public/get-pip.py",
            "PYTHON_GET_PIP_SHA256=ee09098395e42eb1f82ef4acb231a767a6ae85504a9cf9983223df0a7cbd35d7",
            "FORCE_COLOR=1",
            "TERM=xterm-256color"
        ],
        "Cmd": null,
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/app",
        "Entrypoint": [
            "python",
            "check_k8s_network"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 121124021,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/e29f102f4b09cd9ba6e7802f353b51899cfd6b47b5e2d7662ae29e6f8c0092d5/diff:/var/lib/docker/overlay2/f7d9181f48b748ebd7da937bb97212b3e39562d6b8cd335bd2ea58da8c27033f/diff:/var/lib/docker/overlay2/efdeff120b493981c23c8bef568b53545f4636e5832d2b308e2982253ab84074/diff:/var/lib/docker/overlay2/8cd61a6eb644cfe516fd42bbdc632a4f5499b72ea5a5f4370807147a0917ac00/diff:/var/lib/docker/overlay2/ecbe90ec5db259ee5870e05af2067323dea38c3160aa4ab9bcbcb51a4e3648d0/diff:/var/lib/docker/overlay2/e08cd424eef07017c494b75341ba5135c3e6ee59f1f619f46ab380d0cb45e3e5/diff:/var/lib/docker/overlay2/af2ae0d44e8de7bdc46417ef9d9f5d0514a0117998acee71b04445a6f1f8dfdd/diff:/var/lib/docker/overlay2/4e20321470a3c6d3cb5b151ecf544171483bf63ad3f049f49102f9bd1b0e54bc/diff:/var/lib/docker/overlay2/fe42b69fac812ecb965854f3c34900ace6abf263bc7d7c9cdbe1b75b0476b5b0/diff",
            "MergedDir": "/var/lib/docker/overlay2/43c866f9727a944f1deae40531b8aa20f5eaf77418d1c0963e099690145d0ebf/merged",
            "UpperDir": "/var/lib/docker/overlay2/43c866f9727a944f1deae40531b8aa20f5eaf77418d1c0963e099690145d0ebf/diff",
            "WorkDir": "/var/lib/docker/overlay2/43c866f9727a944f1deae40531b8aa20f5eaf77418d1c0963e099690145d0ebf/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:94e5f06ff8e3d4441dc3cd8b090ff38dc911bfa8ebdb0dc28395bc98f82f983f",
            "sha256:366753fcad9d62fd6a2fc397d43fab4644c7d60d66e01d484f4c81a85cb70a7b",
            "sha256:6328c963a76f382ab93e117a08482592486b1b7380cf1a960cca3b475dfb97fc",
            "sha256:5198e379f04cf29988e319f068c45bd94920e0d2b238d614d48ee19863ab4878",
            "sha256:67a7eda195f1fa640c8af8fae25ecc029914fffec25af6efb1f799af98352bfb",
            "sha256:64984ceeb34ff0ae7d21235b4424da30b70f870e9bbd6310709dc6dfe51c3c07",
            "sha256:73a2faef700973d6be9c728d1ecf4ec11bcc9f663bd17885c0656d343827a346",
            "sha256:e107a01b2a8d6557d385238c5cdc0c929e5c25f1d5a41855dd0e0186e5883033",
            "sha256:b815f01b9b84fa1742b931eb6a46ad62ebaf68fdeeb51630954384df6f385a5e",
            "sha256:fdb3466ee5e24c6c183933ac9eef72c3d8e5e7dac04f02bb525b6d0cbe3b6f70"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-11T10:55:03.726508518+08:00"
    }
}

更多版本

docker.io/80imike/check-k8s-network:latest

linux/amd64 docker.io121.12MB2024-12-11 10:55
28