docker.io/library/docker:25-cli linux/amd64

docker.io/library/docker:25-cli - 国内下载镜像源 浏览次数:27 安全受验证的发布者-Docker

Docker Official Image - Docker

This is the official Docker image, which serves as a base for other Docker images. It provides a minimal Linux environment and tools to help developers build and test their own Docker-based applications.

源镜像 docker.io/library/docker:25-cli
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/docker:25-cli
镜像ID sha256:511412b2e9dd11cda72a57abbeb66b02069ab432a6228f4dea2b53c060dd14fd
镜像TAG 25-cli
大小 180.54MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD sh
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 27 次
贡献者
镜像创建 2024-07-25T17:05:52Z
同步时间 2025-01-09 15:17
更新时间 2025-01-17 23:26
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin DOCKER_VERSION=25.0.5 DOCKER_BUILDX_VERSION=0.16.2 DOCKER_COMPOSE_VERSION=2.29.1 DOCKER_TLS_CERTDIR=/certs
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.20.2 扫描引擎: Trivy 扫描时间: 2025-01-09 15:18

低危漏洞:2 中危漏洞:16 高危漏洞:7 严重漏洞:7

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-07-26 01:05:52  0.00B 设置默认要执行的命令
CMD ["sh"]
                        
# 2024-07-26 01:05:52  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2024-07-26 01:05:52  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir /certs /certs/client && chmod 1777 /certs /certs/client # buildkit
                        
# 2024-07-26 01:05:52  0.00B 设置环境变量 DOCKER_TLS_CERTDIR
ENV DOCKER_TLS_CERTDIR=/certs
                        
# 2024-07-26 01:05:52  1.85KB 复制新文件或目录到容器中
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
                        
# 2024-07-26 01:05:52  587.00B 复制新文件或目录到容器中
COPY modprobe.sh /usr/local/bin/modprobe # buildkit
                        
# 2024-07-26 01:05:52  63.16MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 		apkArch="$(apk --print-arch)"; 	case "$apkArch" in 		'x86_64') 			url='https://github.com/docker/compose/releases/download/v2.29.1/docker-compose-linux-x86_64'; 			sha256='5ea89dd65d33912a83737d8a4bf070d5de534a32b8493a21fbefc924484786a9'; 			;; 		'armhf') 			url='https://github.com/docker/compose/releases/download/v2.29.1/docker-compose-linux-armv6'; 			sha256='5fdd0653bb04798f1448bd5bdbecea02bcf39247fcc9b8aab10c05c8e680ede0'; 			;; 		'armv7') 			url='https://github.com/docker/compose/releases/download/v2.29.1/docker-compose-linux-armv7'; 			sha256='0d675f39b3089050d0630a7151580a58abc6c189e64209c6403598b6e9fc0b21'; 			;; 		'aarch64') 			url='https://github.com/docker/compose/releases/download/v2.29.1/docker-compose-linux-aarch64'; 			sha256='7f0023ba726b90347e4ebc1d94ec5970390b8bddb86402c0429f163dca70d745'; 			;; 		'ppc64le') 			url='https://github.com/docker/compose/releases/download/v2.29.1/docker-compose-linux-ppc64le'; 			sha256='9d69aae252fa7fd3a234647951b2af496ee927134d5456d4b8bac31d4d260f5d'; 			;; 		'riscv64') 			url='https://github.com/docker/compose/releases/download/v2.29.1/docker-compose-linux-riscv64'; 			sha256='91b6b2f56e8cba3965a5409fa5125d3f01408c9b2d0bf5b9c119f353601d1e51'; 			;; 		's390x') 			url='https://github.com/docker/compose/releases/download/v2.29.1/docker-compose-linux-s390x'; 			sha256='1ea22d04bab9452de3169e22b60d77a232acdf829ac4858dc780085dd7fd4c48'; 			;; 		*) echo >&2 "warning: unsupported 'docker-compose' architecture ($apkArch); skipping"; exit 0 ;; 	esac; 		wget -O 'docker-compose' "$url"; 	echo "$sha256 *"'docker-compose' | sha256sum -c -; 		plugin='/usr/local/libexec/docker/cli-plugins/docker-compose'; 	mkdir -p "$(dirname "$plugin")"; 	mv -vT 'docker-compose' "$plugin"; 	chmod +x "$plugin"; 		ln -sv "$plugin" /usr/local/bin/; 	docker-compose --version; 	docker compose version # buildkit
                        
# 2024-07-26 01:05:52  0.00B 设置环境变量 DOCKER_COMPOSE_VERSION
ENV DOCKER_COMPOSE_VERSION=2.29.1
                        
# 2024-07-26 01:05:52  57.04MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 		apkArch="$(apk --print-arch)"; 	case "$apkArch" in 		'x86_64') 			url='https://github.com/docker/buildx/releases/download/v0.16.2/buildx-v0.16.2.linux-amd64'; 			sha256='43e4c928a0be38ab34e206c82957edfdd54f3e7124f1dadd7779591c3acf77ea'; 			;; 		'armhf') 			url='https://github.com/docker/buildx/releases/download/v0.16.2/buildx-v0.16.2.linux-arm-v6'; 			sha256='77678205fbaaead25167cd93b022996d0bafff67deb5ca82b92b25cccb06ad07'; 			;; 		'armv7') 			url='https://github.com/docker/buildx/releases/download/v0.16.2/buildx-v0.16.2.linux-arm-v7'; 			sha256='b4f029ed0d4d30c49857bc31f8bec5484b3f6b8104d8d49a187fb6b69fab3d82'; 			;; 		'aarch64') 			url='https://github.com/docker/buildx/releases/download/v0.16.2/buildx-v0.16.2.linux-arm64'; 			sha256='775f1ab64aa0e5d901dcc6ecf6843ec3261f27476873760711aa362b403f61f3'; 			;; 		'ppc64le') 			url='https://github.com/docker/buildx/releases/download/v0.16.2/buildx-v0.16.2.linux-ppc64le'; 			sha256='956b020318ad0ba94f817116792d9da8695ebab38254c9f821a85a3369175f7e'; 			;; 		'riscv64') 			url='https://github.com/docker/buildx/releases/download/v0.16.2/buildx-v0.16.2.linux-riscv64'; 			sha256='e90589ff33ad409a40a5e53cde5af4a0f230f0d8f5b6d9af522120a6900222ea'; 			;; 		's390x') 			url='https://github.com/docker/buildx/releases/download/v0.16.2/buildx-v0.16.2.linux-s390x'; 			sha256='f2dbf2dc967415e1e1f4398d040d6b5b81e4e27f37df22bd148ea4b18c8ea6eb'; 			;; 		*) echo >&2 "warning: unsupported 'docker-buildx' architecture ($apkArch); skipping"; exit 0 ;; 	esac; 		wget -O 'docker-buildx' "$url"; 	echo "$sha256 *"'docker-buildx' | sha256sum -c -; 		plugin='/usr/local/libexec/docker/cli-plugins/docker-buildx'; 	mkdir -p "$(dirname "$plugin")"; 	mv -vT 'docker-buildx' "$plugin"; 	chmod +x "$plugin"; 		docker buildx version # buildkit
                        
# 2024-07-26 01:05:52  0.00B 设置环境变量 DOCKER_BUILDX_VERSION
ENV DOCKER_BUILDX_VERSION=0.16.2
                        
# 2024-07-26 01:05:52  35.65MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 		apkArch="$(apk --print-arch)"; 	case "$apkArch" in 		'x86_64') 			url='https://download.docker.com/linux/static/stable/x86_64/docker-25.0.5.tgz'; 			;; 		'armhf') 			url='https://download.docker.com/linux/static/stable/armel/docker-25.0.5.tgz'; 			;; 		'armv7') 			url='https://download.docker.com/linux/static/stable/armhf/docker-25.0.5.tgz'; 			;; 		'aarch64') 			url='https://download.docker.com/linux/static/stable/aarch64/docker-25.0.5.tgz'; 			;; 		*) echo >&2 "error: unsupported 'docker.tgz' architecture ($apkArch)"; exit 1 ;; 	esac; 		wget -O 'docker.tgz' "$url"; 		tar --extract 		--file docker.tgz 		--strip-components 1 		--directory /usr/local/bin/ 		--no-same-owner 		'docker/docker' 	; 	rm docker.tgz; 		docker --version # buildkit
                        
# 2024-07-26 01:05:52  0.00B 设置环境变量 DOCKER_VERSION
ENV DOCKER_VERSION=25.0.5
                        
# 2024-07-26 01:05:52  1.03KB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	addgroup -g 2375 -S docker # buildkit
                        
# 2024-07-26 01:05:52  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c [ -e /etc/nsswitch.conf ] && grep '^hosts: files dns' /etc/nsswitch.conf # buildkit
                        
# 2024-07-26 01:05:52  16.88MB 执行命令并创建新的镜像层
RUN /bin/sh -c apk add --no-cache 		ca-certificates 		openssh-client 		git # buildkit
                        
# 2024-07-23 06:26:43  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2024-07-23 06:26:43  7.80MB 
/bin/sh -c #(nop) ADD file:99093095d62d0421541d882f9ceeddb2981fe701ec0aa9d2c08480712d5fed21 in / 
                        
                    

镜像信息

{
    "Id": "sha256:511412b2e9dd11cda72a57abbeb66b02069ab432a6228f4dea2b53c060dd14fd",
    "RepoTags": [
        "docker:25-cli",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/docker:25-cli"
    ],
    "RepoDigests": [
        "docker@sha256:9210050a84564f5f2df1dbbe6c0d1b28cd86a784a4b673612a449c6ecb9565f6",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/docker@sha256:a79f96aca2413dbd66314f4000a54fc8281912ade1c9c46472d5c6f8a2288ded"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-07-25T17:05:52Z",
    "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",
            "DOCKER_VERSION=25.0.5",
            "DOCKER_BUILDX_VERSION=0.16.2",
            "DOCKER_COMPOSE_VERSION=2.29.1",
            "DOCKER_TLS_CERTDIR=/certs"
        ],
        "Cmd": [
            "sh"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 180538364,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/958c035c242da91eced7e6e4d4978111878be73c65074e9692f7e1662fcd219f/diff:/var/lib/docker/overlay2/a485cb7e2fba3b972307d2ad9a328fee016b1fe7403c7d687dea1ebe8037016c/diff:/var/lib/docker/overlay2/1e4844b47119ca823179d929bd54f484c79a9f20b8aa5ec943232fada0b3bf55/diff:/var/lib/docker/overlay2/1be5488c371f6bcfb628351231fa12c35dace8ce6b1176ce88cdb77d51da8dd5/diff:/var/lib/docker/overlay2/bb30b24104dd0959f95de4e70081518fe7fb2163c561c5d1672a0043f1541a04/diff:/var/lib/docker/overlay2/135b1d513a288b0c57738794d212a1ca5a085567f1fad37854cfc1094dbd8186/diff:/var/lib/docker/overlay2/aee33bef213c3b9f8093d6a9c098d3e9c7f716046b9929fa0ea7b3d93dd54369/diff:/var/lib/docker/overlay2/2f0e4ccd59fb5c05f3d38db16c9c4755186f91efa3984c383af9d4e45e190dcf/diff:/var/lib/docker/overlay2/59a10fcd2a68ae93dd45f673952c8a9ef1d3235e2c8222a2801b9b1fcd6ddb55/diff",
            "MergedDir": "/var/lib/docker/overlay2/6e18dcba02a34a2589546a299b32a38b38ac87a7e9055c55f171388e33ea3ed7/merged",
            "UpperDir": "/var/lib/docker/overlay2/6e18dcba02a34a2589546a299b32a38b38ac87a7e9055c55f171388e33ea3ed7/diff",
            "WorkDir": "/var/lib/docker/overlay2/6e18dcba02a34a2589546a299b32a38b38ac87a7e9055c55f171388e33ea3ed7/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:78561cef0761903dd2f7d09856150a6d4fb48967a8f113f3e33d79effbf59a07",
            "sha256:8a42cdc0238e307376608c29e6b4d7e64d7caef220e07ee53923456698e03db5",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:0100e8ed4d39647323fd2356cc2e06fb4bead4f2a5719489699c5f783a6131d7",
            "sha256:2bebf3e9250b918a1c5fcb3590b80d843d4396d0641f71f7cfb99cae48fa034e",
            "sha256:f9b64cbddc2abed0378edb10355004da4d596ad18e8936a1ed06a9b99ac88e38",
            "sha256:9f094b25395157cc11378ef0b05342bd764dc6bdc68627d7868f09500d7a8a12",
            "sha256:c6a287cc65b1c95e66bd1082a0fed44bc4bdb8348f1fcabfd223eeab93dfae53",
            "sha256:db4d2068dab46d20f3060cbf989de3330555e5113053fe29ed26575ebabf5826",
            "sha256:35cc892485434267261d994e62708df5a0d1b00d89deed490143370ec0c21390"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-09T15:17:16.671815798+08:00"
    }
}

更多版本

docker.io/library/docker:stable

linux/amd64 docker.io219.84MB2024-07-31 17:40
223

docker.io/library/docker:dind

linux/amd64 docker.io361.30MB2024-07-31 17:42
345

docker.io/library/docker:20.10.12

linux/amd64 docker.io216.18MB2024-12-04 12:48
47

docker.io/library/docker:20.10.12-dind

linux/amd64 docker.io233.30MB2024-12-04 12:50
46

docker.io/library/docker:25-cli

linux/amd64 docker.io180.54MB2025-01-09 15:17
26