gcr.io/cadvisor/cadvisor:v0.49.2 linux/amd64

gcr.io/cadvisor/cadvisor:v0.49.2 - 国内下载镜像源 浏览次数:16 安全受验证的发布者-cadvisor

gcr.io/cadvisor/cadvisor 镜像描述

这是一个用于监控容器资源使用情况的工具镜像。cadvisor 可以收集容器的 CPU、内存、网络、磁盘等资源使用信息,并提供可视化界面进行展示。

源镜像 gcr.io/cadvisor/cadvisor:v0.49.2
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/cadvisor/cadvisor:v0.49.2
镜像ID sha256:756320e067ed704c191fddb4f926ce651c4e87fba58d538ac3c111aaefcfdcbc
镜像TAG v0.49.2
大小 80.84MB
镜像源 gcr.io
CMD
启动入口 /usr/bin/cadvisor -logtostderr
工作目录 /
OS/平台 linux/amd64
浏览量 16 次
贡献者
镜像创建 2024-12-10T00:21:32.087953149Z
同步时间 2025-01-16 16:04
更新时间 2025-01-18 08:07
开放端口
8080/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CADVISOR_HEALTHCHECK_URL=http://localhost:8080/healthz

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/cadvisor/cadvisor:v0.49.2
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/cadvisor/cadvisor:v0.49.2  gcr.io/cadvisor/cadvisor:v0.49.2

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/cadvisor/cadvisor:v0.49.2
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/cadvisor/cadvisor:v0.49.2  gcr.io/cadvisor/cadvisor:v0.49.2

Shell快速替换命令

sed -i 's#gcr.io/cadvisor/cadvisor:v0.49.2#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/cadvisor/cadvisor:v0.49.2#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/cadvisor/cadvisor:v0.49.2 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/cadvisor/cadvisor:v0.49.2  gcr.io/cadvisor/cadvisor:v0.49.2'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/cadvisor/cadvisor:v0.49.2 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/cadvisor/cadvisor:v0.49.2  gcr.io/cadvisor/cadvisor:v0.49.2'

镜像构建历史


# 2024-12-10 08:21:32  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/bin/cadvisor" "-logtostderr"]
                        
# 2024-12-10 08:21:32  0.00B 指定检查容器健康状态的命令
HEALTHCHECK &{["CMD-SHELL" "wget --quiet --tries=1 --spider $CADVISOR_HEALTHCHECK_URL || exit 1"] "30s" "3s" "0s" "0s" '\x00'}
                        
# 2024-12-10 08:21:32  0.00B 设置环境变量 CADVISOR_HEALTHCHECK_URL
ENV CADVISOR_HEALTHCHECK_URL=http://localhost:8080/healthz
                        
# 2024-12-10 08:21:32  0.00B 声明容器运行时监听的端口
EXPOSE map[8080/tcp:{}]
                        
# 2024-12-10 08:21:32  46.39MB 复制新文件或目录到容器中
COPY /go/src/github.com/google/cadvisor/_output/cadvisor /usr/bin/cadvisor # buildkit
                        
# 2024-12-10 08:21:31  0.00B 复制新文件或目录到容器中
COPY /usr/local/lib/libipmctl.so* /usr/local/lib/ # buildkit
                        
# 2024-12-10 08:21:31  12.17MB 复制新文件或目录到容器中
COPY /usr/local/lib/libpfm.so* /usr/local/lib/ # buildkit
                        
# 2024-12-10 08:20:56  14.93MB 执行命令并创建新的镜像层
RUN /bin/sh -c apk --no-cache add libc6-compat device-mapper findutils ndctl zfs &&     apk --no-cache add thin-provisioning-tools --repository http://dl-3.alpinelinux.org/alpine/edge/main/ &&     echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf &&     rm -rf /var/cache/apk/* # buildkit
                        
# 2024-12-10 08:20:56  0.00B 
MAINTAINER dengnan@google.com vmarmol@google.com vishnuk@google.com jimmidyson@gmail.com stclair@google.com
                        
# 2024-09-06 20:03:22  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2024-09-06 20:03:22  7.35MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.18.9-x86_64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:756320e067ed704c191fddb4f926ce651c4e87fba58d538ac3c111aaefcfdcbc",
    "RepoTags": [
        "gcr.io/cadvisor/cadvisor:v0.49.2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/cadvisor/cadvisor:v0.49.2"
    ],
    "RepoDigests": [
        "gcr.io/cadvisor/cadvisor@sha256:aea169b3b211216d9d61c33455ec3a85d2b6f63d8889b1ebf41b97163cffbbc5",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/cadvisor/cadvisor@sha256:36814656da84ae8c00cd0af051c9fab668e99a3010d14123cb981c196ac8986d"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-12-10T00:21:32.087953149Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "dengnan@google.com vmarmol@google.com vishnuk@google.com jimmidyson@gmail.com stclair@google.com",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "8080/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "CADVISOR_HEALTHCHECK_URL=http://localhost:8080/healthz"
        ],
        "Cmd": null,
        "Healthcheck": {
            "Test": [
                "CMD-SHELL",
                "wget --quiet --tries=1 --spider $CADVISOR_HEALTHCHECK_URL || exit 1"
            ],
            "Interval": 30000000000,
            "Timeout": 3000000000
        },
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/",
        "Entrypoint": [
            "/usr/bin/cadvisor",
            "-logtostderr"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 80841977,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/eb141463b99fd595821877624a22696b4c79cc188d4729bb4e990d74084a11d8/diff:/var/lib/docker/overlay2/00885e201ae32919b3d0753324efc83989e54ddf119385a8ffdc68b83b7c9a69/diff:/var/lib/docker/overlay2/708ef4cc0c4d83f4293b8851b3a9a71313ff036782d5b40732e4a297b9376e1d/diff:/var/lib/docker/overlay2/2d255fb18210bb13b45f78870902805b66f56cf2766c0835f7539c854ddeeb2b/diff",
            "MergedDir": "/var/lib/docker/overlay2/d68f06151391a643d5e2c1409bedcad4a6e8e9977012fc8614441c7355219754/merged",
            "UpperDir": "/var/lib/docker/overlay2/d68f06151391a643d5e2c1409bedcad4a6e8e9977012fc8614441c7355219754/diff",
            "WorkDir": "/var/lib/docker/overlay2/d68f06151391a643d5e2c1409bedcad4a6e8e9977012fc8614441c7355219754/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:f9fc769d335082905a3e43c83f2a6d11b413556f9d156ab0fbe3166d256c0d99",
            "sha256:af86767231951847934a06b0cbccf26cf1c235d8c0d845bfaf2bb2e9ad0e5227",
            "sha256:65ef79b4aa5e7de334c5d4ad15318e5b851c45ac6af01caf987e9d105cffc03f",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:a3c2834afb79f20668f73a73d35f341c80a603ca284fd43a75ae528a6506824d"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-16T16:04:34.234361363+08:00"
    }
}

更多版本

gcr.io/cadvisor/cadvisor-amd64:v0.49.1

linux/amd64 gcr.io80.79MB2024-06-28 11:26
416

gcr.io/cadvisor/cadvisor-amd64:v0.47.2

linux/amd64 gcr.io87.01MB2024-06-28 23:32
193

gcr.io/cadvisor/cadvisor-arm64:v0.49.1

linux/arm64 gcr.io70.40MB2024-08-25 09:54
362

gcr.io/cadvisor/cadvisor:v0.49.1

linux/amd64 gcr.io80.79MB2024-11-06 16:06
77

gcr.io/cadvisor/cadvisor:v0.47.2

linux/amd64 gcr.io87.01MB2024-11-12 10:03
56

gcr.io/cadvisor/cadvisor:v0.51.0

linux/arm64 gcr.io68.34MB2024-11-27 17:38
69

gcr.io/cadvisor/cadvisor:v0.51.0

linux/amd64 gcr.io78.90MB2024-11-28 15:39
85

gcr.io/cadvisor/cadvisor:v0.47.0

linux/amd64 gcr.io87.28MB2024-12-25 18:07
41

gcr.io/cadvisor/cadvisor:v0.49.2

linux/amd64 gcr.io80.84MB2025-01-16 16:04
15