docker.io/library/docker:dind linux/amd64

docker.io/library/docker:dind - 国内下载镜像源 浏览次数:288 安全受验证的发布者-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:dind
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/docker:dind
镜像ID sha256:60ded0dc5246d628d5d5a71f9594efe5ad4752492fd677569cc163b43a5d0ffa
镜像TAG dind
大小 361.30MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 dockerd-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 288 次
贡献者
镜像创建 2024-07-23T22:56:51Z
同步时间 2024-07-31 17:42
更新时间 2024-12-04 10:10
开放端口
2375/tcp 2376/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin DOCKER_VERSION=27.1.1 DOCKER_BUILDX_VERSION=0.16.2 DOCKER_COMPOSE_VERSION=2.29.1 DOCKER_TLS_CERTDIR=/certs DIND_COMMIT=65cfcc28ab37cb75e1560e4b4738719c07c6618e

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-07-24 06:56:51 CMD []
0.00B 2024-07-24 06:56:51 ENTRYPOINT ["dockerd-entrypoint.sh"]
0.00B 2024-07-24 06:56:51 EXPOSE map[2375/tcp:{} 2376/tcp:{}]
0.00B 2024-07-24 06:56:51 VOLUME [/var/lib/docker]
8.99KB 2024-07-24 06:56:51 COPY dockerd-entrypoint.sh /usr/local/bin/ # buildkit
2.86KB 2024-07-24 06:56:51 RUN /bin/sh -c set -eux; wget -O /usr/local/bin/dind "https://raw.githubusercontent.com/docker/docker/${DIND_COMMIT}/hack/dind"; chmod +x /usr/local/bin/dind # buildkit
0.00B 2024-07-24 06:56:51 ENV DIND_COMMIT=65cfcc28ab37cb75e1560e4b4738719c07c6618e
160.27MB 2024-07-24 06:56:51 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-27.1.1.tgz'; ;; 'armhf') url='https://download.docker.com/linux/static/stable/armel/docker-27.1.1.tgz'; ;; 'armv7') url='https://download.docker.com/linux/static/stable/armhf/docker-27.1.1.tgz'; ;; 'aarch64') url='https://download.docker.com/linux/static/stable/aarch64/docker-27.1.1.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 --exclude 'docker/docker' ; rm docker.tgz; dockerd --version; containerd --version; ctr --version; runc --version # buildkit
3.16KB 2024-07-24 06:56:51 RUN /bin/sh -c set -eux; addgroup -S dockremap; adduser -S -G dockremap dockremap; echo 'dockremap:165536:65536' >> /etc/subuid; echo 'dockremap:165536:65536' >> /etc/subgid # buildkit
251.62KB 2024-07-24 06:56:51 RUN /bin/sh -c set -eux; apk add --no-cache iptables-legacy; mkdir -p /usr/local/sbin/.iptables-legacy; for f in iptables iptables-save iptables-restore ip6tables ip6tables-save ip6tables-restore ; do b="/sbin/${f/tables/tables-legacy}"; "$b" --version; ln -svT "$b" "/usr/local/sbin/.iptables-legacy/$f"; done; export PATH="/usr/local/sbin/.iptables-legacy:$PATH"; iptables --version | grep legacy # buildkit
17.34MB 2024-07-24 06:56:51 RUN /bin/sh -c set -eux; apk add --no-cache btrfs-progs e2fsprogs e2fsprogs-extra git ip6tables iptables openssl pigz shadow-uidmap xfsprogs xz zfs ; # buildkit
0.00B 2024-07-24 06:56:51 CMD ["sh"]
0.00B 2024-07-24 06:56:51 ENTRYPOINT ["docker-entrypoint.sh"]
0.00B 2024-07-24 06:56:51 RUN /bin/sh -c mkdir /certs /certs/client && chmod 1777 /certs /certs/client # buildkit
0.00B 2024-07-24 06:56:51 ENV DOCKER_TLS_CERTDIR=/certs
1.85KB 2024-07-24 06:56:51 COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
587.00B 2024-07-24 06:56:51 COPY modprobe.sh /usr/local/bin/modprobe # buildkit
63.16MB 2024-07-24 06:56:51 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
0.00B 2024-07-24 06:56:51 ENV DOCKER_COMPOSE_VERSION=2.29.1
57.04MB 2024-07-24 06:56:51 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
0.00B 2024-07-24 06:56:51 ENV DOCKER_BUILDX_VERSION=0.16.2
38.53MB 2024-07-24 06:56:51 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-27.1.1.tgz'; ;; 'armhf') url='https://download.docker.com/linux/static/stable/armel/docker-27.1.1.tgz'; ;; 'armv7') url='https://download.docker.com/linux/static/stable/armhf/docker-27.1.1.tgz'; ;; 'aarch64') url='https://download.docker.com/linux/static/stable/aarch64/docker-27.1.1.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
0.00B 2024-07-24 06:56:51 ENV DOCKER_VERSION=27.1.1
1.03KB 2024-07-24 06:56:51 RUN /bin/sh -c set -eux; addgroup -g 2375 -S docker # buildkit
0.00B 2024-07-24 06:56:51 RUN /bin/sh -c [ -e /etc/nsswitch.conf ] && grep '^hosts: files dns' /etc/nsswitch.conf # buildkit
16.88MB 2024-07-24 06:56:51 RUN /bin/sh -c apk add --no-cache ca-certificates openssh-client git # buildkit
0.00B 2024-07-23 06:26:43 /bin/sh -c #(nop) CMD ["/bin/sh"]
7.80MB 2024-07-23 06:26:43 /bin/sh -c #(nop) ADD file:99093095d62d0421541d882f9ceeddb2981fe701ec0aa9d2c08480712d5fed21 in /

镜像信息

{
    "Id": "sha256:60ded0dc5246d628d5d5a71f9594efe5ad4752492fd677569cc163b43a5d0ffa",
    "RepoTags": [
        "docker:dind",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/docker:dind"
    ],
    "RepoDigests": [
        "docker@sha256:a690693976550aba640859bb3c3c29eb323a4f53f684c99b2a8282b14a22308b",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/docker@sha256:4595242ef62fc69f58b425d2b98657394d618a7e5a31d13274c6d2993fbf5a6c"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-07-23T22:56:51Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "2375/tcp": {},
            "2376/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "DOCKER_VERSION=27.1.1",
            "DOCKER_BUILDX_VERSION=0.16.2",
            "DOCKER_COMPOSE_VERSION=2.29.1",
            "DOCKER_TLS_CERTDIR=/certs",
            "DIND_COMMIT=65cfcc28ab37cb75e1560e4b4738719c07c6618e"
        ],
        "Cmd": null,
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/var/lib/docker": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "dockerd-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 361295402,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/5fb9a9c93ad352c163586536b5ad29cb62b497a476a9259e8f59ec6c9a8017f4/diff:/var/lib/docker/overlay2/1e1c23e15038fae66badaf0bf2f1ebb5be17db9b1a4db867cd0132ef71a3e8b0/diff:/var/lib/docker/overlay2/1ffb4e3bee11887a331a6a8f96b7b7c33ea8a9e48a87d5a4eca065d6e86eb6e4/diff:/var/lib/docker/overlay2/b21882cdd280c5bf2f631631c877249bb95c76caefbb1bbf98b38af315cc9921/diff:/var/lib/docker/overlay2/af810ebfbb15cf8d69e897f5ef603ddbb1595988c4507adb064689d964d81655/diff:/var/lib/docker/overlay2/8949d4ab1828d5f9bdbae695ff4f9470586d5d3e0c6a4cf483ba49a0aefeaf2f/diff:/var/lib/docker/overlay2/a473653577de52bc1d8ebbf9253d568374be5adeb8a7a7cf4615cc5bb80ab70d/diff:/var/lib/docker/overlay2/e4a20aeb0fe1afdd86bac6e1c693a1b90e03336c623733740882ec53082dcfc3/diff:/var/lib/docker/overlay2/47f2aeab530eaea937bab405dc59e80277a9fd0eaac543bdf9a2d14632b9c057/diff:/var/lib/docker/overlay2/60e7a72499032d8be74bf1ebf2e6d956291d8de4e1515ea8b26cb240028a0603/diff:/var/lib/docker/overlay2/efb8db53bb8d898005791a5277f00b2222a6c864e74a5e958022e78f7cda9b46/diff:/var/lib/docker/overlay2/9a2c6f7452a257a2c5c4c6c2832d10ce03bac30716fa49958b82115e94a3db13/diff:/var/lib/docker/overlay2/928e4363b4bb6e7ce39ef3058a0f388093f0678dd27caf435af689252aa92abd/diff:/var/lib/docker/overlay2/4f369163b28803698e10401da93257d472c5b7d2d252c89b9e5ad1515b6929a9/diff:/var/lib/docker/overlay2/197612c0cb8cf4a976e6909c9e1ea5c606d639df6dab5cfe2c9b2e53929fc5d7/diff",
            "MergedDir": "/var/lib/docker/overlay2/80ee4f118a1400426364c6e6b023d32103b9010135e475791c6d2ac757318b2f/merged",
            "UpperDir": "/var/lib/docker/overlay2/80ee4f118a1400426364c6e6b023d32103b9010135e475791c6d2ac757318b2f/diff",
            "WorkDir": "/var/lib/docker/overlay2/80ee4f118a1400426364c6e6b023d32103b9010135e475791c6d2ac757318b2f/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:78561cef0761903dd2f7d09856150a6d4fb48967a8f113f3e33d79effbf59a07",
            "sha256:00f824c08be1d1062ec9a185f2169cfd50b084e99eaae159dcda2651bf8cf140",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:4470c408f3d84026a71e9a1dbaebe4e6ed89307a1e0d7dea00e47070e0194296",
            "sha256:b51dfb5fe79b9ee60438bad1a2a8c3e7346cb216c750347881011c047bc82711",
            "sha256:04a69ee64aa7259a0436d596d40a82276bc317a11034bd6f521b1068e57dd587",
            "sha256:83a53d3a81461c113dcd9b6b2776ec74fccd36333b1be8fefd440efcce137af4",
            "sha256:6348457542786cbd6316bc23afde1106f22243fc056acfc7d88fa4d8f4e84fa9",
            "sha256:1cc1467a2c71ac1d564ba9884a1e1345aec05cbba7549e1eff26b8c453c16859",
            "sha256:648b311efe9d77363aa2921bde78960a44f6beae66bc49373d946172f771dfa1",
            "sha256:abf0258f026a806abe4bc4d0064114f1beee4ef0291a993df58aab176e922913",
            "sha256:88263cf226fac29b9a9f3e0e866a7c455af2bb196067755f9a266d33d4b178a0",
            "sha256:523d223d7c94ec267538794ae15f3be04e798753572bbf153da692d7e837a57f",
            "sha256:8e50de1731a319d4c68e5cb543b93d5fe695de1cbd749bdffa4a83a4a35dddcb",
            "sha256:d70e078b81fbbb07288f0d85a028d4a0b9b3f1a5f96d4cc4ad8b9ce9201d595e",
            "sha256:19d8686a442134a9325410f05d766024fb99f523c0ed2a846a9d8f57536d9494"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-07-31T17:41:32.455233515+08:00"
    }
}

更多版本

docker.io/library/docker:stable

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

docker.io/library/docker:dind

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

docker.io/library/docker:20.10.12

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

docker.io/library/docker:20.10.12-dind

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