docker.io/gerritcodereview/gerrit:3.4.5 linux/amd64

docker.io/gerritcodereview/gerrit:3.4.5 - 国内下载镜像源 浏览次数:148
Gerit是一个分布式版本控制系统,旨在为大型项目提供一个灵活、可靠的代码管理解决方案。
源镜像 docker.io/gerritcodereview/gerrit:3.4.5
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gerritcodereview/gerrit:3.4.5
镜像ID sha256:683143c843dfb20da4b7e06e50e6ae28e8f0d9ef9318063622fc8ba98cee89c0
镜像TAG 3.4.5
大小 671.01MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 148 次
贡献者
镜像创建 2022-05-22T20:23:09.8420706Z
同步时间 2024-08-01 09:37
更新时间 2025-01-02 10:05
开放端口
29418/tcp 8080/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CANONICAL_WEB_URL= HTTPD_LISTEN_URL=

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gerritcodereview/gerrit:3.4.5
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gerritcodereview/gerrit:3.4.5  docker.io/gerritcodereview/gerrit:3.4.5

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gerritcodereview/gerrit:3.4.5
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gerritcodereview/gerrit:3.4.5  docker.io/gerritcodereview/gerrit:3.4.5

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2022-05-23 04:23:09  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/entrypoint.sh"]
                        
# 2022-05-23 04:23:09  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/var/gerrit/git /var/gerrit/index /var/gerrit/cache /var/gerrit/db /var/gerrit/etc]
                        
# 2022-05-23 04:23:09  0.00B 声明容器运行时监听的端口
EXPOSE map[29418/tcp:{} 8080/tcp:{}]
                        
# 2022-05-23 04:23:09  0.00B 设置环境变量 HTTPD_LISTEN_URL
ENV HTTPD_LISTEN_URL=
                        
# 2022-05-23 04:23:09  0.00B 设置环境变量 CANONICAL_WEB_URL
ENV CANONICAL_WEB_URL=
                        
# 2022-05-23 04:23:09  0.00B 指定运行容器时使用的用户
USER gerrit
                        
# 2022-05-23 04:23:09  3.48KB 执行命令并创建新的镜像层
RUN /bin/sh -c update-crypto-policies --set LEGACY # buildkit
                        
# 2022-05-23 04:23:09  461.54MB 执行命令并创建新的镜像层
RUN /bin/sh -c yum -y install initscripts &&     yum -y install java-11-openjdk &&     yum -y install gerrit-3.4.5-1 &&     /entrypoint.sh init &&     rm -f /var/gerrit/etc/{ssh,secure}* && rm -Rf /var/gerrit/{static,index,logs,data,index,cache,git,db,tmp}/* && chown -R gerrit:gerrit /var/gerrit &&     yum -y clean all # buildkit
                        
# 2022-05-23 04:21:49  1.10KB 复制文件或目录到容器中
ADD entrypoint.sh / # buildkit
                        
# 2022-05-23 04:21:49  10.97MB 执行命令并创建新的镜像层
RUN /bin/sh -c rpm -i https://gerritforge.com/gerritforge-repo-1-2.noarch.rpm # buildkit
                        
# 2022-05-23 04:21:49  0.00B 
MAINTAINER Gerrit Code Review Community
                        
# 2022-05-11 08:20:11  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2022-05-11 08:20:11  198.50MB 
/bin/sh -c #(nop) ADD file:8a578ee27ff70f6a4c4924b3123d808056e78b0c6a38ccb5fd1e2b9c9c9c7373 in / 
                        
                    

镜像信息

{
    "Id": "sha256:683143c843dfb20da4b7e06e50e6ae28e8f0d9ef9318063622fc8ba98cee89c0",
    "RepoTags": [
        "gerritcodereview/gerrit:3.4.5",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gerritcodereview/gerrit:3.4.5"
    ],
    "RepoDigests": [
        "gerritcodereview/gerrit@sha256:6eb0cd59174f4413f59d117d8f7f5bca3a44fb6053b346027d062dc3a8cd7b08",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gerritcodereview/gerrit@sha256:6eb0cd59174f4413f59d117d8f7f5bca3a44fb6053b346027d062dc3a8cd7b08"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2022-05-22T20:23:09.8420706Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "Gerrit Code Review Community",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "gerrit",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "29418/tcp": {},
            "8080/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "CANONICAL_WEB_URL=",
            "HTTPD_LISTEN_URL="
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": {
            "/var/gerrit/cache": {},
            "/var/gerrit/db": {},
            "/var/gerrit/etc": {},
            "/var/gerrit/git": {},
            "/var/gerrit/index": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "/entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 671006437,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/4db72ea3c07672f4666d7a4b3c6424604ce4f1c0e89f6cdb839f7b3e316d71ec/diff:/var/lib/docker/overlay2/ff82c20aac227c458dcc351fb12c168ef47189015bdd6975a366e14eab929120/diff:/var/lib/docker/overlay2/90e8574a118cbe13755316ccec9b9e5616b61fa4d8f0a8e7e75e067924a15add/diff:/var/lib/docker/overlay2/00c4b995df818b9e36de27c9c1e64f75f4546b5d2c8b8ca8eea5379cd63d4c9b/diff",
            "MergedDir": "/var/lib/docker/overlay2/388bf4263b35ae291820a36459cd857ea5753ed3a1501013c1d84fdb62ecacdd/merged",
            "UpperDir": "/var/lib/docker/overlay2/388bf4263b35ae291820a36459cd857ea5753ed3a1501013c1d84fdb62ecacdd/diff",
            "WorkDir": "/var/lib/docker/overlay2/388bf4263b35ae291820a36459cd857ea5753ed3a1501013c1d84fdb62ecacdd/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:1f75afe7350732a2b433c47d8909bb362a96fd40b94498801464ff54f42facbd",
            "sha256:cbe8b69363d013898c94f580e02874f9b0d9a92fb3122d0fd71053ecc005ccdd",
            "sha256:91c14e64d565e8e24f101830545611142bbc13ef21ec751be665700c75959855",
            "sha256:df7d93aa6e1adec6d092cf67ba2de487766ba9994c5491c1c5681bd0f52cee09",
            "sha256:c46d9780343b3cc602b0843bbd0504c7113aae50ab6f2bdec0657bc6f2a96a60"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-08-01T09:36:38.863334787+08:00"
    }
}

更多版本

docker.io/gerritcodereview/gerrit:3.10.0

linux/amd64 docker.io786.03MB2024-08-01 09:35
162

docker.io/gerritcodereview/gerrit:3.4.5

linux/amd64 docker.io671.01MB2024-08-01 09:37
147

docker.io/gerritcodereview/gerrit:3.4.0

linux/amd64 docker.io692.67MB2024-08-01 09:40
145