logo
docker.elastic.co/elastic-agent/elastic-agent:9.0.1
linux/amd64 docker.elastic.co 已验证 · Elastic
这是docker容器镜像描述信息: 名称:
Elastic Agent
描述:
Elastic Agent 是一个轻量级代理,用于收集数据并将其传递给 Elastic Stack。它可以在多种环境中部署,包括 Linux、Windows 和 macOS。Elastic Agent 支持多种数据源和目的地,并提供了一个易用的接口来定义和管理数据流。
341
浏览次数
1.72GB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elastic-agent/elastic-agent:9.0.1
源镜像
docker.elastic.co/elastic-agent/elastic-agent:9.0.1
镜像ID
sha256:0f029be9b7541fb16ece850261fefba5e3a11b6ba223cacabb19f9bd0c766602
镜像 TAG
9.0.1
镜像大小
1.72GB
平台架构
linux/amd64
镜像源
docker.elastic.co
CMD
启动入口
/usr/bin/tini -- /usr/local/bin/docker-entrypoint
工作目录
/usr/share/elastic-agent
OS/平台
linux/amd64
镜像创建
2025-04-30T15:15:21.501256368Z
同步时间
2025-06-27 15:35
浏览量
341 次
贡献者
⚙️ 环境变量 6
KeyValue
PATH=/usr/share/elastic-agent:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
container=oci 1
BEAT_SETUID_AS=elastic-agent 2
ELASTIC_CONTAINER=true 3
GODEBUG=madvdontneed=1 4
LIBBEAT_MONITORING_CGROUPS_HIERARCHY_OVERRIDE=/ 5
🏷️ 镜像标签 35
KeyValue
x86_64 architecture
2025-04-28T15:45:43 build-date
ubi9-minimal-container com.redhat.component
https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI com.redhat.license_terms
Elastic Agent - single, unified way to add monitoring for logs, metrics, and other types of data to a host. description
public distribution-scope
1.39.0-dev io.buildah.version
Elastic Agent - single, unified way to add monitoring for logs, metrics, and other types of data to a host. io.k8s.description
Elastic-Agent image io.k8s.display-name
io.openshift.expose-services
minimal rhel9 io.openshift.tags
Elastic License license
infra@elastic.co maintainer
elastic-agent name
2025-04-30T15:10:29Z org.label-schema.build-date
Elastic License org.label-schema.license
elastic-agent org.label-schema.name
1.0 org.label-schema.schema-version
https://www.elastic.co/elastic-agent org.label-schema.url
68f3edcf91b105b32405c4e7789eb54f2c59c0c8 org.label-schema.vcs-ref
github.com/elastic/elastic-agent org.label-schema.vcs-url
Elastic org.label-schema.vendor
9.0.1 org.label-schema.version
infra@elastic.co org.opencontainers.image.authors
2025-04-30T15:10:29Z org.opencontainers.image.created
Elastic License org.opencontainers.image.licenses
Elastic-Agent org.opencontainers.image.title
Elastic org.opencontainers.image.vendor
1 release
elastic-agent summary
https://www.elastic.co/elastic-agent url
f072486a5ead2d7d882ba4af2ce72e19cce20791 vcs-ref
git vcs-type
Elastic vendor
9.0.1 version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elastic-agent/elastic-agent:9.0.1
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elastic-agent/elastic-agent:9.0.1  docker.elastic.co/elastic-agent/elastic-agent:9.0.1

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elastic-agent/elastic-agent:9.0.1
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elastic-agent/elastic-agent:9.0.1  docker.elastic.co/elastic-agent/elastic-agent:9.0.1

Shell快速替换命令

sed -i 's#docker.elastic.co/elastic-agent/elastic-agent:9.0.1#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elastic-agent/elastic-agent:9.0.1#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elastic-agent/elastic-agent:9.0.1 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elastic-agent/elastic-agent:9.0.1  docker.elastic.co/elastic-agent/elastic-agent:9.0.1'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elastic-agent/elastic-agent:9.0.1 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elastic-agent/elastic-agent:9.0.1  docker.elastic.co/elastic-agent/elastic-agent:9.0.1'

镜像构建历史


# 2025-04-30 23:15:21  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/bin/tini" "--" "/usr/local/bin/docker-entrypoint"]
                        
# 2025-04-30 23:15:21  0.00B 设置工作目录为/usr/share/elastic-agent
WORKDIR /usr/share/elastic-agent
                        
# 2025-04-30 23:15:21  0.00B 设置环境变量 LIBBEAT_MONITORING_CGROUPS_HIERARCHY_OVERRIDE
ENV LIBBEAT_MONITORING_CGROUPS_HIERARCHY_OVERRIDE=/
                        
# 2025-04-30 23:15:21  0.00B 指定运行容器时使用的用户
USER elastic-agent
                        
# 2025-04-30 23:15:21  6.02MB 复制新文件或目录到容器中
COPY /usr/share/elastic-agent/NOTICE.txt /licenses # buildkit
                        
# 2025-04-30 23:15:21  3.86KB 复制新文件或目录到容器中
COPY /usr/share/elastic-agent/LICENSE.txt /licenses # buildkit
                        
# 2025-04-30 23:15:21  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir /licenses # buildkit
                        
# 2025-04-30 23:15:20  157.94KB 执行命令并创建新的镜像层
RUN /bin/sh -c chmod 0777 /usr/share/elastic-agent &&     usermod -d /usr/share/elastic-agent elastic-agent &&     find /usr/share/elastic-agent/data/elastic-agent-68f3ed/components -name "*.yml*" -type f -exec chown elastic-agent:elastic-agent {} \; &&     true # buildkit
                        
# 2025-04-30 23:15:17  1.59GB 复制新文件或目录到容器中
COPY /usr/share/elastic-agent /usr/share/elastic-agent # buildkit
                        
# 2025-04-30 23:14:42  3.44KB 执行命令并创建新的镜像层
RUN /bin/sh -c groupadd --gid 1000 elastic-agent &&     useradd -M --uid 1000 --gid 1000 --groups 0 elastic-agent &&     chmod 755 /usr/local/bin/docker-entrypoint &&     true # buildkit
                        
# 2025-04-30 23:14:31  509.00B 复制新文件或目录到容器中
COPY docker-entrypoint /usr/local/bin/docker-entrypoint # buildkit
                        
# 2025-04-30 23:14:31  24.06KB 执行命令并创建新的镜像层
RUN /bin/sh -c set -e ;   TINI_BIN="";   TINI_SHA256="";   TINI_VERSION="v0.19.0";   case "$(arch)" in     x86_64)         TINI_BIN="tini-amd64";         TINI_SHA256="93dcc18adc78c65a028a84799ecf8ad40c936fdfc5f2a57b1acda5a8117fa82c";         ;;     aarch64)         TINI_BIN="tini-arm64";         TINI_SHA256="07952557df20bfd2a95f9bef198b445e006171969499a1d361bd9e6f8e5e0e81";         ;;     *)         echo >&2 ; echo >&2 "Unsupported architecture \$(arch)" ; echo >&2 ; exit 1 ;         ;;   esac ;   curl --retry 8 -S -L -O "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/${TINI_BIN}" ;   echo "${TINI_SHA256} ${TINI_BIN}" | sha256sum -c - ;   mv "${TINI_BIN}" /usr/bin/tini ;   chmod +x /usr/bin/tini # buildkit
                        
# 2025-04-30 23:14:23  0.00B 设置环境变量 GODEBUG
ENV GODEBUG=madvdontneed=1
                        
# 2025-04-30 23:14:23  0.00B 设置环境变量 PATH
ENV PATH=/usr/share/elastic-agent:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2025-04-30 23:14:23  0.00B 设置环境变量 ELASTIC_CONTAINER
ENV ELASTIC_CONTAINER=true
                        
# 2025-04-30 23:14:23  0.00B 添加元数据标签
LABEL org.label-schema.build-date=2025-04-30T15:10:29Z org.label-schema.schema-version=1.0 org.label-schema.vendor=Elastic org.label-schema.license=Elastic License org.label-schema.name=elastic-agent org.label-schema.version=9.0.1 org.label-schema.url=https://www.elastic.co/elastic-agent org.label-schema.vcs-url=github.com/elastic/elastic-agent org.label-schema.vcs-ref=68f3edcf91b105b32405c4e7789eb54f2c59c0c8 io.k8s.description=Elastic Agent - single, unified way to add monitoring for logs, metrics, and other types of data to a host. io.k8s.display-name=Elastic-Agent image org.opencontainers.image.created=2025-04-30T15:10:29Z org.opencontainers.image.licenses=Elastic License org.opencontainers.image.title=Elastic-Agent org.opencontainers.image.vendor=Elastic org.opencontainers.image.authors=infra@elastic.co maintainer=infra@elastic.co name=elastic-agent vendor=Elastic version=9.0.1 release=1 url=https://www.elastic.co/elastic-agent summary=elastic-agent license=Elastic License description=Elastic Agent - single, unified way to add monitoring for logs, metrics, and other types of data to a host.
                        
# 2025-04-30 23:14:23  16.61MB 执行命令并创建新的镜像层
RUN /bin/sh -c for iter in {1..10}; do         microdnf update -y &&         microdnf install -y tar gzip findutils shadow-utils ca-certificates gawk libcap xz &&         microdnf clean all &&         exit_code=0 && break || exit_code=$? && echo "microdnf error: retry $iter in 10s" && sleep 10; done; (exit $exit_code) # buildkit
                        
# 2025-04-30 23:14:23  0.00B 设置环境变量 BEAT_SETUID_AS
ENV BEAT_SETUID_AS=elastic-agent
                        
# 2025-04-28 23:46:10  104.40MB 
/bin/sh -c #(nop) LABEL "build-date"="2025-04-28T15:45:43" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="f072486a5ead2d7d882ba4af2ce72e19cce20791" "release"="1745855087"
                        
# 2025-04-28 23:46:10  0.00B 
/bin/sh -c #(nop) COPY file:58cc94f5b3b2d60de2c77a6ed4b1797dcede502ccdb429a72e7a72d994235b3c in /usr/share/buildinfo/content-sets.json 
                        
# 2025-04-28 23:46:10  0.00B 
/bin/sh -c . /cachi2/cachi2.env &&     rm -rf /var/log/*
                        
# 2025-04-28 23:46:09  0.00B 
/bin/sh -c #(nop) CMD ["/bin/bash"]
                        
# 2025-04-28 23:46:09  0.00B 
/bin/sh -c #(nop) COPY file:b37d593713ee21ad52a4cd1424dc019a24f7966f85df0ac4b86d234302695328 in /etc/yum.repos.d/. 
                        
# 2025-04-28 23:46:09  0.00B 
/bin/sh -c #(nop) COPY dir:6446605ab0b234f56f65ee435d3f1ec849764d2e258ed27d2cce90dc59963fc1 in / 
                        
# 2025-04-28 23:46:09  0.00B 
/bin/sh -c #(nop) ENV container oci
                        
# 2025-04-28 23:46:09  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.tags="minimal rhel9"
                        
# 2025-04-28 23:46:09  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
                        
# 2025-04-28 23:46:09  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9 Minimal"
                        
# 2025-04-28 23:46:09  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.description="The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
                        
# 2025-04-28 23:46:09  0.00B 
/bin/sh -c #(nop) LABEL description="The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
                        
# 2025-04-28 23:46:09  0.00B 
/bin/sh -c #(nop) LABEL summary="Provides the latest release of the minimal Red Hat Universal Base Image 9."
                        
# 2025-04-28 23:46:09  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
                        
# 2025-04-28 23:46:09  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-minimal-container"       name="ubi9-minimal"       version="9.5"       distribution-scope="public"
                        
# 2025-04-28 23:46:09  0.00B 
/bin/sh -c #(nop) LABEL url="https://www.redhat.com"
                        
# 2025-04-28 23:46:09  0.00B 
/bin/sh -c #(nop) LABEL vendor="Red Hat, Inc."
                        
# 2025-04-28 23:46:09  0.00B 
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
                        
                    

镜像信息

{
    "Id": "sha256:0f029be9b7541fb16ece850261fefba5e3a11b6ba223cacabb19f9bd0c766602",
    "RepoTags": [
        "docker.elastic.co/elastic-agent/elastic-agent:9.0.1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elastic-agent/elastic-agent:9.0.1"
    ],
    "RepoDigests": [
        "docker.elastic.co/elastic-agent/elastic-agent@sha256:855483794e9c98d97c8a496bfdb3dc05cf279c686afc141f2a42794bffc368b9",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elastic-agent/elastic-agent@sha256:c86123e725106458e6ea3dc7f53b99cee740c499cb7d11c38e2a05b697c62d94"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-04-30T15:15:21.501256368Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "elastic-agent",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/share/elastic-agent:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "container=oci",
            "BEAT_SETUID_AS=elastic-agent",
            "ELASTIC_CONTAINER=true",
            "GODEBUG=madvdontneed=1",
            "LIBBEAT_MONITORING_CGROUPS_HIERARCHY_OVERRIDE=/"
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/usr/share/elastic-agent",
        "Entrypoint": [
            "/usr/bin/tini",
            "--",
            "/usr/local/bin/docker-entrypoint"
        ],
        "OnBuild": null,
        "Labels": {
            "architecture": "x86_64",
            "build-date": "2025-04-28T15:45:43",
            "com.redhat.component": "ubi9-minimal-container",
            "com.redhat.license_terms": "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI",
            "description": "Elastic Agent - single, unified way to add monitoring for logs, metrics, and other types of data to a host.",
            "distribution-scope": "public",
            "io.buildah.version": "1.39.0-dev",
            "io.k8s.description": "Elastic Agent - single, unified way to add monitoring for logs, metrics, and other types of data to a host.",
            "io.k8s.display-name": "Elastic-Agent image",
            "io.openshift.expose-services": "",
            "io.openshift.tags": "minimal rhel9",
            "license": "Elastic License",
            "maintainer": "infra@elastic.co",
            "name": "elastic-agent",
            "org.label-schema.build-date": "2025-04-30T15:10:29Z",
            "org.label-schema.license": "Elastic License",
            "org.label-schema.name": "elastic-agent",
            "org.label-schema.schema-version": "1.0",
            "org.label-schema.url": "https://www.elastic.co/elastic-agent",
            "org.label-schema.vcs-ref": "68f3edcf91b105b32405c4e7789eb54f2c59c0c8",
            "org.label-schema.vcs-url": "github.com/elastic/elastic-agent",
            "org.label-schema.vendor": "Elastic",
            "org.label-schema.version": "9.0.1",
            "org.opencontainers.image.authors": "infra@elastic.co",
            "org.opencontainers.image.created": "2025-04-30T15:10:29Z",
            "org.opencontainers.image.licenses": "Elastic License",
            "org.opencontainers.image.title": "Elastic-Agent",
            "org.opencontainers.image.vendor": "Elastic",
            "release": "1",
            "summary": "elastic-agent",
            "url": "https://www.elastic.co/elastic-agent",
            "vcs-ref": "f072486a5ead2d7d882ba4af2ce72e19cce20791",
            "vcs-type": "git",
            "vendor": "Elastic",
            "version": "9.0.1"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1721513861,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/31f34e79e83a8c1b7591be53fd4c43dbdb139d60468f959658ecd6eef900e326/diff:/var/lib/docker/overlay2/e670bb20e61cd63f7553899270bd9d2fc524fccf31580734789edbab70b76fd5/diff:/var/lib/docker/overlay2/6954743d0f94a626d1c75ed0694d232432fbb62312964d884d1788050d831cdf/diff:/var/lib/docker/overlay2/22c7aa6a915322578ba09626a292a900d8b734b4a8403f4fb319bc2faa9639df/diff:/var/lib/docker/overlay2/851d60287fa2257d58ac8f7a2181dec839364dc4a3ea089dcce04e7907298fc1/diff:/var/lib/docker/overlay2/c23c0f04dfe98ed077facde347fc5c3712a81602e9fd173cd32de814db26a4a6/diff:/var/lib/docker/overlay2/c71422a94568bce9b229a97c15796de99d8617d5029d10e4897555059ba14b0e/diff:/var/lib/docker/overlay2/487079df8eac3e8747802fff7214b6eef41f5fb720701760a250a51032ede07e/diff:/var/lib/docker/overlay2/5f204604344bb90d9b76981b630166a2eaea5babfdcaa6008649056871cfc319/diff:/var/lib/docker/overlay2/d4073771fb8994801f855ad8d0a61118cebe55eb47bf1d7fa9ed2211d482f1c4/diff",
            "MergedDir": "/var/lib/docker/overlay2/b8a0b0c9c6cefdddb3646a9698f08ede0bda44edc363f6f4b43e408029caf9d9/merged",
            "UpperDir": "/var/lib/docker/overlay2/b8a0b0c9c6cefdddb3646a9698f08ede0bda44edc363f6f4b43e408029caf9d9/diff",
            "WorkDir": "/var/lib/docker/overlay2/b8a0b0c9c6cefdddb3646a9698f08ede0bda44edc363f6f4b43e408029caf9d9/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:b29c9a8603eb3d8d229a52aff146f22495bc2df5bc45bc500903e853f248e9e3",
            "sha256:e5a9e3af8f0be1735d8580cb5df2ebb6f8f560fd91bea5d1f70f31a759f9e7b0",
            "sha256:4cac89f3630a118ea11468452cf3bef9ef61432306978264aa691fce9ef09ce8",
            "sha256:cf2eb5aedc40ea473681f7c0b11e8fce445d95eb54fde94675a5195eaccfed66",
            "sha256:6f6c03f4d20e6786f1fb47e375ed80c5bc7afc2c73cdee936331c44ea2cc63e0",
            "sha256:3a60bfc722f635b9c7a8d65d0e9ca54de984c020acd000617c7406290d951e8a",
            "sha256:7f7cc0951f08d14aeee26b357b47b33aed0a1640752406faa0385f39c0e0fd8c",
            "sha256:afd48fad122161775d688c1a648ff7e6ee4214743842bbe24f0b4c0abdcc1a4b",
            "sha256:7b23f1edafe3382a92494f3fc8161a8a5079aff021d1129dea738688f14670b0",
            "sha256:4f9e8f35fb3f4e56fb286be887e1094b4c85e38b669dafc9876030a45df5c02e",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-06-27T15:34:06.429570957+08:00"
    }
}

更多版本

docker.elastic.co/elastic-agent/elastic-agent:8.15.2

linux/amd64 docker.elastic.co1.31GB2024-10-06 17:44
635

docker.elastic.co/elastic-agent/elastic-agent:9.0.1

linux/amd64 docker.elastic.co1.72GB2025-06-27 15:35
340

docker.elastic.co/elastic-agent/elastic-agent:9.1.4

linux/amd64 docker.elastic.co1.88GB2025-09-29 14:54
273

docker.elastic.co/elastic-agent/elastic-agent:9.2.1

linux/amd64 docker.elastic.co1.88GB2025-12-03 10:02
212

docker.elastic.co/elastic-agent/elastic-agent:9.2.3

linux/amd64 docker.elastic.co1.88GB2026-01-13 22:56
267

docker.elastic.co/elastic-agent/elastic-agent:9.2.4

linux/amd64 docker.elastic.co1.87GB2026-01-29 15:55
244

docker.elastic.co/elastic-agent/elastic-agent:8.19.15

linux/amd64 docker.elastic.co2.08GB2026-05-14 15:18
141

docker.elastic.co/elastic-agent/elastic-agent:9.4.1

linux/amd64 docker.elastic.co1.90GB2026-05-21 11:03
137

docker.elastic.co/elastic-agent/elastic-agent:9.4.0

linux/amd64 docker.elastic.co1.89GB2026-05-26 11:20
131

docker.elastic.co/elastic-agent/elastic-agent:8.19.19

linux/amd64 docker.elastic.co2.10GB2026-07-28 15:05
55
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×