docker.io/tnextday/kubectl-git:v1.20.0 linux/amd64

docker.io/tnextday/kubectl-git:v1.20.0 - 国内下载镜像源 浏览次数:34
```html

该镜像 docker.io/tnextday/kubectl-git 包含了kubectl命令行工具以及git客户端。它旨在提供一个方便的环境,用于在Docker容器中执行与Kubernetes集群和Git代码库相关的操作。

```
源镜像 docker.io/tnextday/kubectl-git:v1.20.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tnextday/kubectl-git:v1.20.0
镜像ID sha256:b4550a55bbc3b8159e9a247510ef6752c1f2b7f8a7bb709b367cb3d6f7dc706b
镜像TAG v1.20.0
大小 62.34MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD sh
启动入口
工作目录 /root
OS/平台 linux/amd64
浏览量 34 次
贡献者
镜像创建 2020-12-17T04:23:40.939345349Z
同步时间 2025-03-18 10:59
更新时间 2025-04-03 19:40
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
镜像标签
kubectl-git: org.label-schema.name https://github.com/tnextday/kubectl-git: org.label-schema.vcs-url v1.20.0: org.label-schema.version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tnextday/kubectl-git:v1.20.0
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tnextday/kubectl-git:v1.20.0  docker.io/tnextday/kubectl-git:v1.20.0

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tnextday/kubectl-git:v1.20.0
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tnextday/kubectl-git:v1.20.0  docker.io/tnextday/kubectl-git:v1.20.0

Shell快速替换命令

sed -i 's#tnextday/kubectl-git:v1.20.0#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tnextday/kubectl-git:v1.20.0#' deployment.yaml

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2020-12-17 12:23:40  0.00B 
/bin/sh -c #(nop)  CMD ["sh"]
                        
# 2020-12-17 12:23:40  0.00B 
/bin/sh -c #(nop) WORKDIR /root
                        
# 2020-12-17 12:23:40  56.76MB 
|1 KUBE_VERSION=v1.20.0 /bin/sh -c apk add --update ca-certificates  && apk add --update curl git  && curl -L https://storage.googleapis.com/kubernetes-release/release/${KUBE_VERSION}/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl  && chmod +x /usr/local/bin/kubectl  && apk del --purge curl  && rm /var/cache/apk/*  && mkdir -p /root/.kube
                        
# 2020-12-17 12:23:36  0.00B 
/bin/sh -c #(nop)  LABEL org.label-schema.version=v1.20.0 org.label-schema.name=kubectl-git org.label-schema.vcs-url=https://github.com/tnextday/kubectl-git
                        
# 2020-12-17 12:23:35  0.00B 
/bin/sh -c #(nop)  ARG KUBE_VERSION=v1.20.0
                        
# 2020-12-17 08:19:42  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2020-12-17 08:19:41  5.58MB 
/bin/sh -c #(nop) ADD file:ec475c2abb2d46435286b5ae5efacf5b50b1a9e3b6293b69db3c0172b5b9658b in / 
                        
                    

镜像信息

{
    "Id": "sha256:b4550a55bbc3b8159e9a247510ef6752c1f2b7f8a7bb709b367cb3d6f7dc706b",
    "RepoTags": [
        "tnextday/kubectl-git:v1.20.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tnextday/kubectl-git:v1.20.0"
    ],
    "RepoDigests": [
        "tnextday/kubectl-git@sha256:413842eb0dbf3f365636b7b2abcbc10e3d4c40db6ad61306b315c76475641f22",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tnextday/kubectl-git@sha256:413842eb0dbf3f365636b7b2abcbc10e3d4c40db6ad61306b315c76475641f22"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2020-12-17T04:23:40.939345349Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "19.03.8",
    "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": [
            "sh"
        ],
        "Image": "sha256:6bcf456f678f8639e76f0a2a7006bde43b9a01c77b7729649090caf89839608e",
        "Volumes": null,
        "WorkingDir": "/root",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "org.label-schema.name": "kubectl-git",
            "org.label-schema.vcs-url": "https://github.com/tnextday/kubectl-git",
            "org.label-schema.version": "v1.20.0"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 62335242,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/1739437cd95212cc9f4a61b37e1e331f584832be777c1aa1cde5de9ffbd7656c/diff",
            "MergedDir": "/var/lib/docker/overlay2/2b5d96f90e373bdc210d8877bd7a2f37e3f1df6ed21bda2f6f16e969a4bffa58/merged",
            "UpperDir": "/var/lib/docker/overlay2/2b5d96f90e373bdc210d8877bd7a2f37e3f1df6ed21bda2f6f16e969a4bffa58/diff",
            "WorkDir": "/var/lib/docker/overlay2/2b5d96f90e373bdc210d8877bd7a2f37e3f1df6ed21bda2f6f16e969a4bffa58/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:777b2c648970480f50f5b4d0af8f9a8ea798eea43dbcf40ce4a8c7118736bdcf",
            "sha256:596dd7821692d1214d4ba758d52c2a65e3f61a76f7e775b79a899a4839e0b746"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-03-18T10:59:10.896749899+08:00"
    }
}

更多版本

docker.io/tnextday/kubectl-git:v1.20.0

linux/amd64 docker.io62.34MB2025-03-18 10:59
33