logo
docker.io/alpine/git:2.52.0
linux/amd64 docker.io

Alpine Linux with Git

14
浏览次数
97.61MB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/alpine/git:2.52.0
源镜像
docker.io/alpine/git:2.52.0
镜像ID
sha256:106eb21735dbb06f49cade61e64a7a7c5f05ca720023a4f6ee4210c08456a4eb
镜像 TAG
2.52.0
镜像大小
97.61MB
平台架构
linux/amd64
镜像源
docker.io
CMD
--help
启动入口
git
工作目录
/git
OS/平台
linux/amd64
镜像创建
2026-05-24T06:56:03.318604311Z
同步时间
2026-08-15 17:42
浏览量
14 次
贡献者
📁 目录挂载 1
 /git
⚙️ 环境变量 1
KeyValue
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
🏷️ 镜像标签 8
KeyValue
2026-06-07T07:50:51.939Z org.opencontainers.image.created
A useful simple git container running in alpine linux, especially for tiny linux distro, such as RancherOS, which don't have package manager. org.opencontainers.image.description
Apache-2.0 org.opencontainers.image.licenses
org.opencontainers.image.revision
https://github.com/alpine-docker/git org.opencontainers.image.source
git org.opencontainers.image.title
https://github.com/alpine-docker/git org.opencontainers.image.url
a507d21 org.opencontainers.image.version
🛡️ 镜像安全扫描
alpine 3.23.4 Trivy 2026-08-15 17:42 查看完整报告
21
低危 LOW
26
中危 MEDIUM
9
高危 HIGH
0
严重 CRITICAL
受影响目标 (1)
docker.io/alpine/git:2.52.0 (alpine 3.23.4) alpine

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/alpine/git:2.52.0
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/alpine/git:2.52.0  docker.io/alpine/git:2.52.0

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/alpine/git:2.52.0
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/alpine/git:2.52.0  docker.io/alpine/git:2.52.0

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2026-05-24 14:56:03  0.00B 设置默认要执行的命令
CMD ["--help"]
                        
# 2026-05-24 14:56:03  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["git"]
                        
# 2026-05-24 14:56:03  0.00B 设置工作目录为/git
WORKDIR /git
                        
# 2026-05-24 14:56:03  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/git]
                        
# 2026-05-24 14:56:03  89.16MB 执行命令并创建新的镜像层
RUN /bin/sh -c apk fix &&     apk --no-cache --update add git git-lfs gpg less openssh patch perl &&     git lfs install # buildkit
                        
# 2026-04-16 04:01:40  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2026-04-16 04:01:40  8.45MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.23.4-x86_64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:106eb21735dbb06f49cade61e64a7a7c5f05ca720023a4f6ee4210c08456a4eb",
    "RepoTags": [
        "alpine/git:2.52.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/alpine/git:2.52.0"
    ],
    "RepoDigests": [
        "alpine/git@sha256:4a0e72d49596a1f5d3701aeedafdadc5c0da4062be4657c7bdc4017387f591cc",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/alpine/git@sha256:1300868070772ff9b135fea11d89af905ab2392e9c786364f1e3ec83deda175a"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-05-24T06:56:03.318604311Z",
    "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"
        ],
        "Cmd": [
            "--help"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/git": {}
        },
        "WorkingDir": "/git",
        "Entrypoint": [
            "git"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.created": "2026-06-07T07:50:51.939Z",
            "org.opencontainers.image.description": "A useful simple git container running in alpine linux, especially for tiny linux distro, such as RancherOS, which don't have package manager.",
            "org.opencontainers.image.licenses": "Apache-2.0",
            "org.opencontainers.image.revision": "",
            "org.opencontainers.image.source": "https://github.com/alpine-docker/git",
            "org.opencontainers.image.title": "git",
            "org.opencontainers.image.url": "https://github.com/alpine-docker/git",
            "org.opencontainers.image.version": "a507d21"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 97611194,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/ebedb53de81ca121d6a8c8c6cf2d7859690e0f6d81a98bebb434aa1961725186/diff:/var/lib/docker/overlay2/bd1cf78885cf3b9d31005fc12e15825eaab2f213475e21ca5b9d49621961e4de/diff",
            "MergedDir": "/var/lib/docker/overlay2/a10aa562f9ff3273c08f179ef721fbe7251d71e82bf88c266c9f8f77afb651f8/merged",
            "UpperDir": "/var/lib/docker/overlay2/a10aa562f9ff3273c08f179ef721fbe7251d71e82bf88c266c9f8f77afb651f8/diff",
            "WorkDir": "/var/lib/docker/overlay2/a10aa562f9ff3273c08f179ef721fbe7251d71e82bf88c266c9f8f77afb651f8/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:29df493baa13de438d6d2ece3a8333032e0b7b9b9d8cce4ee82194da255f61e1",
            "sha256:8296987ab4705d7a7d7d7f691486547a786a940a2ad5c353e6d1e87bc9a2393a",
            "sha256:545aef8578930e4292f9c58b83a020bbfc8b2f18954630aa0f034a62829da4b2"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-08-15T17:42:29.325807472+08:00"
    }
}

更多版本

docker.io/alpine/git:2.36.2

linux/amd64 docker.io43.60MB2024-07-18 09:40
983

docker.io/alpine/git:v2.45.2

linux/amd64 docker.io89.49MB2024-10-09 10:52
609

docker.io/alpine/git:latest

linux/amd64 docker.io91.45MB2024-12-18 17:04
909

docker.io/alpine/git:v2.49.0

linux/amd64 docker.io94.10MB2025-07-07 23:55
626

docker.io/alpine/git:v2.49.0

linux/arm64 docker.io97.20MB2025-08-19 20:41
366

docker.io/alpine/git:v2.36.3

linux/amd64 docker.io43.61MB2026-01-29 15:32
322

docker.io/alpine/git:v2.47.2

linux/amd64 docker.io91.53MB2026-08-14 15:49
22

docker.io/alpine/git:2.52.0

linux/amd64 docker.io97.61MB2026-08-15 17:42
13
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×