docker.io/grafana/agent:v0.43.4 linux/amd64

docker.io/grafana/agent:v0.43.4 - 国内下载镜像源 浏览次数:26
📊
Grafana Agent 镜像
该镜像用于运行 Grafana agent,负责将 Prometheus metrics 发送到 Grafana Dashboards 中。
源镜像 docker.io/grafana/agent:v0.43.4
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/grafana/agent:v0.43.4
镜像ID sha256:97a4849b5228830fb806c26e00e2cf69ab5ee8075f3e7190318489a807edc009
镜像TAG v0.43.4
大小 762.11MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD --config.file=/etc/agent/agent.yaml --metrics.wal-directory=/etc/agent/data
启动入口 /bin/grafana-agent
工作目录
OS/平台 linux/amd64
浏览量 26 次
贡献者
镜像创建 2024-11-21T17:56:50.410570581Z
同步时间 2025-01-07 19:49
更新时间 2025-01-17 12:54
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin AGENT_DEPLOY_MODE=docker
镜像标签
ubuntu: org.opencontainers.image.ref.name https://github.com/grafana/agent: org.opencontainers.image.source 24.04: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 24.04 扫描引擎: Trivy 扫描时间: 2025-01-07 19:51

低危漏洞:7 中危漏洞:10 高危漏洞:1 严重漏洞:1

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/grafana/agent:v0.43.4
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/grafana/agent:v0.43.4  docker.io/grafana/agent:v0.43.4

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/grafana/agent:v0.43.4
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/grafana/agent:v0.43.4  docker.io/grafana/agent:v0.43.4

Shell快速替换命令

sed -i 's#grafana/agent:v0.43.4#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/grafana/agent:v0.43.4#' deployment.yaml

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/grafana/agent:v0.43.4 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/grafana/agent:v0.43.4  docker.io/grafana/agent:v0.43.4'

镜像构建历史


# 2024-11-22 01:56:50  0.00B 设置默认要执行的命令
CMD ["--config.file=/etc/agent/agent.yaml" "--metrics.wal-directory=/etc/agent/data"]
                        
# 2024-11-22 01:56:50  0.00B 设置环境变量 AGENT_DEPLOY_MODE
ENV AGENT_DEPLOY_MODE=docker
                        
# 2024-11-22 01:56:50  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/bin/grafana-agent"]
                        
# 2024-11-22 01:56:50  224.72MB 执行命令并创建新的镜像层
RUN |2 UID=473 USERNAME=grafana-agent /bin/sh -c setcap 'cap_net_bind_service=+ep' /bin/grafana-agent # buildkit
                        
# 2024-11-22 01:56:50  224.72MB 执行命令并创建新的镜像层
RUN |2 UID=473 USERNAME=grafana-agent /bin/sh -c chown -R $USERNAME:$USERNAME /bin/grafana-agent # buildkit
                        
# 2024-11-22 01:56:49  377.00B 执行命令并创建新的镜像层
RUN |2 UID=473 USERNAME=grafana-agent /bin/sh -c chown -R $USERNAME:$USERNAME /etc/agent # buildkit
                        
# 2024-11-22 01:56:49  7.67KB 执行命令并创建新的镜像层
RUN |2 UID=473 USERNAME=grafana-agent /bin/sh -c useradd -m -u $UID -g $UID $USERNAME # buildkit
                        
# 2024-11-22 01:56:49  1.90KB 执行命令并创建新的镜像层
RUN |2 UID=473 USERNAME=grafana-agent /bin/sh -c groupadd --gid $UID $USERNAME # buildkit
                        
# 2024-11-22 01:56:49  377.00B 复制新文件或目录到容器中
COPY cmd/grafana-agent/agent-local-config.yaml /etc/agent/agent.yaml # buildkit
                        
# 2024-11-22 01:56:49  224.72MB 复制新文件或目录到容器中
COPY /src/agent/build/grafana-agent /bin/grafana-agent # buildkit
                        
# 2024-11-22 01:51:11  9.81MB 执行命令并创建新的镜像层
RUN |2 UID=473 USERNAME=grafana-agent /bin/sh -c   apt-get update
  apt-get install -qy libsystemd-dev tzdata ca-certificates libcap2-bin
  rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
 # buildkit
                        
# 2024-11-22 01:51:11  0.00B 添加元数据标签
LABEL org.opencontainers.image.source=https://github.com/grafana/agent
                        
# 2024-11-22 01:51:11  0.00B 定义构建参数
ARG USERNAME=grafana-agent
                        
# 2024-11-22 01:51:11  0.00B 定义构建参数
ARG UID=473
                        
# 2024-11-20 01:29:25  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2024-11-20 01:29:25  78.12MB 
/bin/sh -c #(nop) ADD file:bcebbf0fddcba5b864d5d267b68dd23bcfb01275e6ec7bcab69bf8b56af14804 in / 
                        
# 2024-11-20 01:29:23  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=24.04
                        
# 2024-11-20 01:29:23  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2024-11-20 01:29:23  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2024-11-20 01:29:23  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:97a4849b5228830fb806c26e00e2cf69ab5ee8075f3e7190318489a807edc009",
    "RepoTags": [
        "grafana/agent:v0.43.4",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/grafana/agent:v0.43.4"
    ],
    "RepoDigests": [
        "grafana/agent@sha256:6fdea192ec80f34548b2f722212df4185f36a346fddb6c9735b7a4f6e26b697e",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/grafana/agent@sha256:6f9fab54cd0e38a59661b8a41326d92cf4e55a1ec616796921b5f94f198bbdd2"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-11-21T17:56:50.410570581Z",
    "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",
            "AGENT_DEPLOY_MODE=docker"
        ],
        "Cmd": [
            "--config.file=/etc/agent/agent.yaml",
            "--metrics.wal-directory=/etc/agent/data"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "/bin/grafana-agent"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.source": "https://github.com/grafana/agent",
            "org.opencontainers.image.version": "24.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 762114760,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/28b78016c688e375ad051fd85aac90ebbefe86791bd3224201a364d72e204e66/diff:/var/lib/docker/overlay2/78ddb2f41096e70e95b7f21a94226c11e9d69f5d810ccd030c76f1f5c69e5c43/diff:/var/lib/docker/overlay2/8ed108ac942969a521d55020b0f37c0851f5eded77520af8e82e200a26021504/diff:/var/lib/docker/overlay2/d16c163dc6a214f7f4155960414da6e9b61afc03956e5f09fa070f5f6451d6b6/diff:/var/lib/docker/overlay2/a8e7f3ae74bb692884fbf9c26f5e0cc4fcdfc0abbfc98095671f4176ca26cccc/diff:/var/lib/docker/overlay2/8ebc42c7f3b59b26c970cc894d7fea999b322091691f762f9c39c8572fda0dab/diff:/var/lib/docker/overlay2/d5226f72b02f05131fe7836f41aed2a4ba2a9cbf5894fd4b869c93c4ec8f4ee9/diff:/var/lib/docker/overlay2/dd9c6c06cee7cbeacd7427404922c280abf5a7156d6a8d1736426b0776ed9b6a/diff",
            "MergedDir": "/var/lib/docker/overlay2/756db174bdd43634bb744e54d825a8e5f0237ee28ad3da72f6e838e3c1040337/merged",
            "UpperDir": "/var/lib/docker/overlay2/756db174bdd43634bb744e54d825a8e5f0237ee28ad3da72f6e838e3c1040337/diff",
            "WorkDir": "/var/lib/docker/overlay2/756db174bdd43634bb744e54d825a8e5f0237ee28ad3da72f6e838e3c1040337/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:687d50f2f6a697da02e05f2b2b9cb05c1d551f37c404ebe55fdec44b0ae8aa5c",
            "sha256:4903af0120c474cf4b7713cf8e16115fc385c9a50f8c6048d8f5d7906c1c2522",
            "sha256:67c0870a645e13f1c4bed1a484ed3e350da85d294bab57132b2624dedca09f40",
            "sha256:14b15a608ff11f793dfe547898be0e0398ceb2040a5ca70c126cff2d46c6cea0",
            "sha256:87e3783509f58efeb5b6648d1339000068665e1a126afc78e5923e4cdb41ce12",
            "sha256:62986c92b3e7c272d2b4274ce17bd563d37ea25700b01d364a2780f3904de8a6",
            "sha256:012447a4ca6c3605446650ecd2673c51b2398fdc4055b0a3fdad898da1d5af49",
            "sha256:99e9a4e1e854efb0dbecb316a494483c7fc50674d2e3c8cd8b9270889fea6d62",
            "sha256:74d63916ad0ea66d56056cf96d25332f07d9b47c9011eedae110cf2dd54cf558"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-07T19:49:24.066721831+08:00"
    }
}

更多版本

docker.io/grafana/agent:v0.33.2

linux/amd64 docker.io268.60MB2024-06-26 11:25
147

docker.io/grafana/agent-operator:v0.40.4

linux/amd64 docker.io138.42MB2024-09-19 20:49
131

docker.io/grafana/agent:v0.40.3

linux/amd64 docker.io306.94MB2024-10-18 18:31
130

docker.io/grafana/agent:v0.29.0

linux/amd64 docker.io406.12MB2024-10-22 17:27
77

docker.io/grafana/agent-operator:v0.43.3

linux/amd64 docker.io140.10MB2024-10-31 18:24
232

docker.io/grafana/agent-operator:v0.43.4

linux/amd64 docker.io140.12MB2025-01-07 19:31
28

docker.io/grafana/agent:v0.43.4

linux/amd64 docker.io762.11MB2025-01-07 19:49
25