docker.io/registry:2 linux/amd64

docker.io/registry:2 - 国内下载镜像源 浏览次数:17
🎉

Registry 是 Docker 官方提供的一个 Registry 镜像,用于存储和分发 Docker 镜像。它是一个基础镜像,可以用来创建其他 registry 镜像或用于部署自己的注册表服务。

源镜像 docker.io/registry:2
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/registry:2
镜像ID sha256:c18a86d35e983225b84aae3bb15c84bd9e47506dd0102975c0ed97958703bb73
镜像TAG 2
大小 25.43MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /etc/docker/registry/config.yml
启动入口 /entrypoint.sh
工作目录 /
OS/平台 linux/amd64
浏览量 17 次
贡献者
镜像创建 2023-10-02T18:42:41Z
同步时间 2024-11-18 09:41
更新时间 2024-11-20 23:27
开放端口
5000/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.18.9 扫描引擎: Trivy 扫描时间: 2024-11-18 09:43

低危漏洞:2 中危漏洞:11 高危漏洞:4 严重漏洞:1

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2023-10-03 02:42:41 CMD ["/etc/docker/registry/config.yml"]
0.00B 2023-10-03 02:42:41 ENTRYPOINT ["/entrypoint.sh"]
155.00B 2023-10-03 02:42:41 COPY docker-entrypoint.sh /entrypoint.sh # buildkit
0.00B 2023-10-03 02:42:41 EXPOSE map[5000/tcp:{}]
0.00B 2023-10-03 02:42:41 VOLUME [/var/lib/registry]
295.00B 2023-10-03 02:42:41 COPY ./config-example.yml /etc/docker/registry/config.yml # buildkit
17.54MB 2023-10-03 02:42:41 RUN /bin/sh -c set -eux; version='2.8.3'; apkArch="$(apk --print-arch)"; case "$apkArch" in x86_64) arch='amd64'; sha256='b1f750ecbe09f38e2143e22c61a25e3da2afe1510d9522859230b480e642ceff' ;; aarch64) arch='arm64'; sha256='7d2252eeeac97dd60fb9b36bebd15b95d7f947c4c82b8e0824cb55233ece9cd0' ;; armhf) arch='armv6'; sha256='b00606466f976b6757268f1e7691918cbeca4af6fd4093a114b9186744ee8ef0' ;; armv7) arch='armv7'; sha256='d3d7d958a7cc04159d43871261b1ed470ba72531d345fada311068962b967517' ;; ppc64le) arch='ppc64le'; sha256='9003659e5571bee89ee6d686057d02e9c0896d327276f268189922036e1ca84b' ;; s390x) arch='s390x'; sha256='2c1347c73f881c320ff707055aecf649a888df39252e8bdc4fdfac7f59a383f1' ;; *) echo >&2 "error: unsupported architecture: $apkArch"; exit 1 ;; esac; wget -O registry.tar.gz "https://github.com/distribution/distribution/releases/download/v${version}/registry_${version}_linux_${arch}.tar.gz"; echo "$sha256 *registry.tar.gz" | sha256sum -c -; tar --extract --verbose --file registry.tar.gz --directory /bin/ registry; rm registry.tar.gz; registry --version # buildkit
531.48KB 2023-10-03 02:42:41 RUN /bin/sh -c apk add --no-cache ca-certificates # buildkit
0.00B 2023-10-03 02:42:41 CMD ["/bin/sh"]
7.35MB 2023-10-03 02:42:41 ADD alpine-minirootfs-3.18.9-x86_64.tar.gz / # buildkit

镜像信息

{
    "Id": "sha256:c18a86d35e983225b84aae3bb15c84bd9e47506dd0102975c0ed97958703bb73",
    "RepoTags": [
        "registry:2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/registry:2"
    ],
    "RepoDigests": [
        "registry@sha256:543dade69668e02e5768d7ea2b0aa4fae6aa7384c9a5a8dbecc2be5136079ddb",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/registry@sha256:2e3dacd68b23ae633b4e46e2702f7c4fcfc1e6bd0469935f5fdc9d8ef630179a"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2023-10-02T18:42:41Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "5000/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
        ],
        "Cmd": [
            "/etc/docker/registry/config.yml"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/var/lib/registry": {}
        },
        "WorkingDir": "/",
        "Entrypoint": [
            "/entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 25429395,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/edb6bc3325559ce5be75afe810b7f6f0a69d6d286d3d9c69b3f50bd66fd83834/diff:/var/lib/docker/overlay2/041d6d39daef71fb2e2a607b0da43a7d54cdde8ec5987594d4289798ddc5d4b9/diff:/var/lib/docker/overlay2/26aaf529439e2756ee2f42b67a54294618b2cbe12cc9ba860efd9c0f02fd3d0c/diff:/var/lib/docker/overlay2/8651fbdfe5682b67c13dce423db4bee45aef69c487ddc8675633c478a611892a/diff",
            "MergedDir": "/var/lib/docker/overlay2/0b1b85f61234a27b42d023331dc13285668466bb29fa28879163dba3bf05f1ab/merged",
            "UpperDir": "/var/lib/docker/overlay2/0b1b85f61234a27b42d023331dc13285668466bb29fa28879163dba3bf05f1ab/diff",
            "WorkDir": "/var/lib/docker/overlay2/0b1b85f61234a27b42d023331dc13285668466bb29fa28879163dba3bf05f1ab/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:f9fc769d335082905a3e43c83f2a6d11b413556f9d156ab0fbe3166d256c0d99",
            "sha256:96a01afdff54b93b2a2f6750e63c0a74eb153f199296f0447fc11f379e8f9d22",
            "sha256:028476fc17e093cfb1eef878ce7d357d931873b7a55b40bacd08623ac76566f9",
            "sha256:d28d4e94d6f3a6fa6ae5a0c8c5a34d40056657f7e796c636f326141b667c3eaf",
            "sha256:7827cbf539f47a6534bf74d48ced026dbfa0d3d10f3903374fbe9c926b80ab51"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-18T09:41:52.043154856+08:00"
    }
}

更多版本

docker.io/registry:2.8.3

linux/amd64 docker.io25.43MB2024-06-26 17:07
748

docker.io/registry:2.8.1

linux/amd64 docker.io25.93MB2024-08-28 10:15
126

docker.io/registry:2

linux/arm64 docker.io24.95MB2024-10-30 11:16
79

docker.io/registry.hf.space/innoai-edge-tts-text-to-speech:latest

linux/amd64 docker.io2.10GB2024-11-07 14:09
46

docker.io/registry:latest

linux/amd64 docker.io25.43MB2024-11-14 11:04
19

docker.io/registry:2

linux/amd64 docker.io25.43MB2024-11-18 09:41
16