docker.io/alpine/git:latest linux/amd64

docker.io/alpine/git:latest - 国内下载镜像源 浏览次数:50

温馨提示:此镜像为latest tag镜像,本站无法保证此版本为最新镜像

Alpine Linux with Git

源镜像 docker.io/alpine/git:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/alpine/git:latest
镜像ID sha256:7c13633fee18863fba00478133457e46e6e620071396d319c9f5e02d54b2822c
镜像TAG latest
大小 91.45MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD --help
启动入口 git
工作目录 /git
OS/平台 linux/amd64
浏览量 50 次
贡献者 xi**********t@163.com
镜像创建 2024-12-08T04:23:14.520514888Z
同步时间 2024-12-18 17:04
更新时间 2025-01-16 06:15
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
镜像标签
2024-12-15T04:22:55.051Z: 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 fcba8e9: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.21.0 扫描引擎: Trivy 扫描时间: 2024-12-18 17:05

低危漏洞:0 中危漏洞:1 高危漏洞:0 严重漏洞:0

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


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

镜像信息

{
    "Id": "sha256:7c13633fee18863fba00478133457e46e6e620071396d319c9f5e02d54b2822c",
    "RepoTags": [
        "alpine/git:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/alpine/git:latest"
    ],
    "RepoDigests": [
        "alpine/git@sha256:39ac44ff6c6f659ee55eedd221a6b7e4cdfcf9d17ea2be024f588c3ddcd3ce7d",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/alpine/git@sha256:8268f454205a5333844b1d7b8ceb2134d756c84706e8a87e2788dfcb5d3aa49c"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-12-08T04:23:14.520514888Z",
    "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": "2024-12-15T04:22:55.051Z",
            "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": "fcba8e9"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 91452230,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/b41b3d781257b133214af3179667dbed60a995437666be2fd984ecf20ffd880e/diff:/var/lib/docker/overlay2/f07ea7cb47adf971ea839c1595bfec4091f695e5c89b7266542a721564307497/diff",
            "MergedDir": "/var/lib/docker/overlay2/f1d42376de94b7ac31326773cc7fb0848e2088ab3a65659cfbc32dce27ac0016/merged",
            "UpperDir": "/var/lib/docker/overlay2/f1d42376de94b7ac31326773cc7fb0848e2088ab3a65659cfbc32dce27ac0016/diff",
            "WorkDir": "/var/lib/docker/overlay2/f1d42376de94b7ac31326773cc7fb0848e2088ab3a65659cfbc32dce27ac0016/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:3e01818d79cd3467f1d60e54224f3f6ce5170eceb54e265d96bb82344b8c24e7",
            "sha256:1acb595d50352a1cf6a0f4174c1d5de8b163416c735b3e4000bd9a69af9c198c",
            "sha256:1cdd019a019e7c804aa6d28c0025c4e1a153344ee7f4367b1993bc9a31d33392"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-18T17:04:15.874662277+08:00"
    }
}

更多版本

docker.io/alpine/git:2.36.2

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

docker.io/alpine/git:v2.45.2

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

docker.io/alpine/git:latest

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