docker.io/drillster/drone-volume-cache:latest linux/amd64

docker.io/drillster/drone-volume-cache:latest - 国内下载镜像源 浏览次数:23

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

drone-volume-cache 镜像描述

该镜像用于在 Drone CI/CD 中使用卷缓存功能。
  • 它可以加速构建过程,因为构建缓存将被存储在卷中,而不是每次构建都重新下载。
  • 它可以提高构建的可靠性,因为即使构建失败,缓存仍然存在。
**使用方式:** 1. 在你的 Drone 配置文件中,添加一个新的卷,并将其链接到这个镜像: ```yaml volumes: - drone-volume-cache:/cache ``` 2. 在你的构建步骤中,使用 `/cache` 目录来存储缓存文件。 **注意:** * 缓存的大小限制取决于你的 Docker 容器的资源限制。 * 你需要在你的 Drone 配置文件中配置一个缓存策略,以决定哪些缓存文件应该保留。 * 你可以在 Drone 的文档中找到有关使用卷缓存的更多信息。
源镜像 docker.io/drillster/drone-volume-cache:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/drillster/drone-volume-cache:latest
镜像ID sha256:761bf77001461178ee88ce45ba3d23e41c84267a3a9806ccb58841ecd5797d1e
镜像TAG latest
大小 9.43MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /usr/local/cacher.sh
工作目录
OS/平台 linux/amd64
浏览量 23 次
贡献者
镜像创建 2018-06-18T06:48:05.77023083Z
同步时间 2024-11-13 11:40
更新时间 2024-11-23 07:13
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.4.6 扫描引擎: Trivy 扫描时间: 2024-11-13 11:40

低危漏洞:0 中危漏洞:10 高危漏洞:2 严重漏洞:0

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/drillster/drone-volume-cache:latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/drillster/drone-volume-cache:latest  docker.io/drillster/drone-volume-cache:latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/drillster/drone-volume-cache:latest
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/drillster/drone-volume-cache:latest  docker.io/drillster/drone-volume-cache:latest

Shell快速替换命令

sed -i 's#drillster/drone-volume-cache:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/drillster/drone-volume-cache:latest#' deployment.yaml

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2018-06-18 14:48:05 /bin/sh -c #(nop) ENTRYPOINT ["/usr/local/cacher.sh"]
0.00B 2018-06-18 14:48:05 /bin/sh -c #(nop) VOLUME [/cache]
4.61MB 2018-06-18 14:48:04 /bin/sh -c mkdir /cache && apk add --no-cache bash rsync findutils && chmod 755 /usr/local/cacher.sh
3.92KB 2018-06-18 14:47:59 /bin/sh -c #(nop) COPY file:b4a368929cd83832e0a437f2fb2a610312a2ca74b7a15515ef068a9e08165fa1 in /usr/local/
0.00B 2018-06-18 14:47:58 /bin/sh -c #(nop) MAINTAINER Michael de Wit <michael@drillster.com>
0.00B 2018-01-10 05:12:40 /bin/sh -c #(nop) CMD ["/bin/sh"]
4.82MB 2018-01-10 05:12:40 /bin/sh -c #(nop) ADD file:69848cb51056edaf120230b6f218a79968ac797295c2cef6728332e1801357be in /

镜像信息

{
    "Id": "sha256:761bf77001461178ee88ce45ba3d23e41c84267a3a9806ccb58841ecd5797d1e",
    "RepoTags": [
        "drillster/drone-volume-cache:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/drillster/drone-volume-cache:latest"
    ],
    "RepoDigests": [
        "drillster/drone-volume-cache@sha256:b82e143081dfb04ba300ce7854dfcecd31e7858e1998bf89806ec74a80a78e94",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/drillster/drone-volume-cache@sha256:b82e143081dfb04ba300ce7854dfcecd31e7858e1998bf89806ec74a80a78e94"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2018-06-18T06:48:05.77023083Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "17.06.2-ee-6",
    "Author": "Michael de Wit \u003cmichael@drillster.com\u003e",
    "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": null,
        "ArgsEscaped": true,
        "Image": "sha256:166e02a90c71129d3b87fb11e3e2d2f28da88c2897f2c6d36b7b049df9d83817",
        "Volumes": {
            "/cache": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "/usr/local/cacher.sh"
        ],
        "OnBuild": [],
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 9427303,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/70107ac916e9294b41285ea98036eb5cf2dabc2250d98b3dbc485c3615517da3/diff:/var/lib/docker/overlay2/d59b833078d404a58c32b51b959a36373db3aa6c80d28942020741ff71f3f0a2/diff",
            "MergedDir": "/var/lib/docker/overlay2/88d1f9be4603046c34d08cab3da5363df5c8780e882d5d7f4f52045e1e5556f5/merged",
            "UpperDir": "/var/lib/docker/overlay2/88d1f9be4603046c34d08cab3da5363df5c8780e882d5d7f4f52045e1e5556f5/diff",
            "WorkDir": "/var/lib/docker/overlay2/88d1f9be4603046c34d08cab3da5363df5c8780e882d5d7f4f52045e1e5556f5/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:e53f74215d12318372e4412d0f0eb3908e17db25c6185f670db49aef5271f91f",
            "sha256:d66835048a2beb88a12a19876744628a6bee642aa5a123bad240073f561a53ad",
            "sha256:9b79893e0a93798d01cc75d3ac85c8197fa14df1e20ae2e3c09e31ac1416e728"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-13T11:39:57.572099626+08:00"
    }
}

更多版本

docker.io/drillster/drone-volume-cache:latest

linux/amd64 docker.io9.43MB2024-11-13 11:40
22