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

docker.elastic.co/elastic-agent/elastic-agent:9.2.1 - 国内下载镜像源 浏览次数:11 安全受验证的发布者-Elastic
这是docker容器镜像描述信息: 名称:
Elastic Agent
描述:
Elastic Agent 是一个轻量级代理,用于收集数据并将其传递给 Elastic Stack。它可以在多种环境中部署,包括 Linux、Windows 和 macOS。Elastic Agent 支持多种数据源和目的地,并提供了一个易用的接口来定义和管理数据流。
源镜像 docker.elastic.co/elastic-agent/elastic-agent:9.2.1
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elastic-agent/elastic-agent:9.2.1
镜像ID sha256:7a41a39cfaecca0041d3c269300ce1c4cdee789114fcf53d7600fe91f59f7a38
镜像TAG 9.2.1
大小 1.88GB
镜像源 docker.elastic.co
CMD
启动入口 /usr/bin/tini -- /usr/local/bin/docker-entrypoint
工作目录 /usr/share/elastic-agent
OS/平台 linux/amd64
浏览量 11 次
贡献者
镜像创建 2025-11-07T09:21:46.32537499Z
同步时间 2025-12-03 10:02
更新时间 2025-12-03 14:02
环境变量
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=/
镜像标签
x86_64: architecture 2025-10-15T08:06:12Z: 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 cpe:/a:redhat:enterprise_linux:9::appstream: cpe Elastic Agent - single, unified way to add monitoring for logs, metrics, and other types of data to a host.: description public: distribution-scope 1.41.4: 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-11-07T09:16:37Z: 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 db3bfa212ae90d4172a030acd43f51aaca2ad87a: org.label-schema.vcs-ref github.com/elastic/elastic-agent: org.label-schema.vcs-url Elastic: org.label-schema.vendor 9.2.1: org.label-schema.version infra@elastic.co: org.opencontainers.image.authors 2025-11-07T09:16:37Z: org.opencontainers.image.created Elastic License: org.opencontainers.image.licenses d1b15a34ce69ea214e1d32f1f501304f6b8b8c59: org.opencontainers.image.revision Elastic-Agent: org.opencontainers.image.title Elastic: org.opencontainers.image.vendor 1: release elastic-agent: summary https://www.elastic.co/elastic-agent: url d1b15a34ce69ea214e1d32f1f501304f6b8b8c59: vcs-ref git: vcs-type Elastic: vendor 9.2.1: version

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#docker.elastic.co/elastic-agent/elastic-agent:9.2.1#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elastic-agent/elastic-agent:9.2.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.2.1 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elastic-agent/elastic-agent:9.2.1  docker.elastic.co/elastic-agent/elastic-agent:9.2.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.2.1 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elastic-agent/elastic-agent:9.2.1  docker.elastic.co/elastic-agent/elastic-agent:9.2.1'

镜像构建历史


# 2025-11-07 17:21:46  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/bin/tini" "--" "/usr/local/bin/docker-entrypoint"]
                        
# 2025-11-07 17:21:46  0.00B 设置工作目录为/usr/share/elastic-agent
WORKDIR /usr/share/elastic-agent
                        
# 2025-11-07 17:21:46  0.00B 设置环境变量 LIBBEAT_MONITORING_CGROUPS_HIERARCHY_OVERRIDE
ENV LIBBEAT_MONITORING_CGROUPS_HIERARCHY_OVERRIDE=/
                        
# 2025-11-07 17:21:46  0.00B 指定运行容器时使用的用户
USER elastic-agent
                        
# 2025-11-07 17:21:46  5.67MB 复制新文件或目录到容器中
COPY /usr/share/elastic-agent/NOTICE.txt /licenses # buildkit
                        
# 2025-11-07 17:21:46  3.86KB 复制新文件或目录到容器中
COPY /usr/share/elastic-agent/LICENSE.txt /licenses # buildkit
                        
# 2025-11-07 17:21:46  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir /licenses # buildkit
                        
# 2025-11-07 17:21:45  159.62KB 执行命令并创建新的镜像层
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-db3bfa/components -name "*.yml*" -type f -exec chown elastic-agent:elastic-agent {} \; &&     true # buildkit
                        
# 2025-11-07 17:21:40  1.69GB 复制新文件或目录到容器中
COPY --chown=elastic-agent:elastic-agent /usr/share/elastic-agent /usr/share/elastic-agent # buildkit
                        
# 2025-11-07 17:20:50  296.54KB 执行命令并创建新的镜像层
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-11-07 17:20:37  509.00B 复制新文件或目录到容器中
COPY docker-entrypoint /usr/local/bin/docker-entrypoint # buildkit
                        
# 2025-11-07 17:20:37  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-11-07 17:20:36  0.00B 设置环境变量 GODEBUG
ENV GODEBUG=madvdontneed=1
                        
# 2025-11-07 17:20:36  0.00B 设置环境变量 PATH
ENV PATH=/usr/share/elastic-agent:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2025-11-07 17:20:36  0.00B 设置环境变量 ELASTIC_CONTAINER
ENV ELASTIC_CONTAINER=true
                        
# 2025-11-07 17:20:36  0.00B 添加元数据标签
LABEL org.label-schema.build-date=2025-11-07T09:16:37Z 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.2.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=db3bfa212ae90d4172a030acd43f51aaca2ad87a 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-11-07T09:16:37Z 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.2.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-11-07 17:20:36  72.54MB 执行命令并创建新的镜像层
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 systemd &&           microdnf clean all &&           exit_code=0 && break || exit_code=$? && echo "microdnf error: retry $iter in 10s" && sleep 10; done; (exit $exit_code) # buildkit
                        
# 2025-11-07 17:20:36  0.00B 设置环境变量 BEAT_SETUID_AS
ENV BEAT_SETUID_AS=elastic-agent
                        
# 2025-10-15 16:06:35  104.40MB 
/bin/sh -c #(nop) LABEL "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="d1b15a34ce69ea214e1d32f1f501304f6b8b8c59" "org.opencontainers.image.revision"="d1b15a34ce69ea214e1d32f1f501304f6b8b8c59" "build-date"="2025-10-15T08:06:12Z" "release"="1760515502"org.opencontainers.image.revision=d1b15a34ce69ea214e1d32f1f501304f6b8b8c59
                        
# 2025-10-15 16:06:34  0.00B 
/bin/sh -c #(nop) COPY file:16bf5aac480286f91e3031d4f1acb4e76fb8c3be38d180e4713a0efdc39d6bad in /root/buildinfo/labels.json      
                        
# 2025-10-15 16:06:34  0.00B 
/bin/sh -c #(nop) COPY file:93583a9ebbaeff1e36b48820b647eea1eef523f6627dacfb0b21af79f5a41b35 in /root/buildinfo/content_manifests/content-sets.json      
                        
# 2025-10-15 16:06:34  0.00B 
/bin/sh -c #(nop) COPY file:93583a9ebbaeff1e36b48820b647eea1eef523f6627dacfb0b21af79f5a41b35 in /usr/share/buildinfo/content-sets.json      
                        
# 2025-10-15 16:06:34  0.00B 
/bin/sh -c #(nop) CMD ["/bin/bash"]
                        
# 2025-10-15 16:06:34  0.00B 
/bin/sh -c #(nop) COPY file:1376702515d596f414e3aa494e0daa6d408a6d2475c4aeca96bf9392f5287f69 in /etc/yum.repos.d/.      
                        
# 2025-10-15 16:06:34  0.00B 
/bin/sh -c #(nop) COPY dir:f15650dcc2939ee0c30865212b61e6718fd6c24de4e7967bf7b651b8f0b24352 in /      
                        
# 2025-10-15 16:06:33  0.00B 
/bin/sh -c #(nop) ENV container oci
                        
# 2025-10-15 16:06:33  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.tags="minimal rhel9"
                        
# 2025-10-15 16:06:33  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
                        
# 2025-10-15 16:06:33  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9 Minimal"
                        
# 2025-10-15 16:06:33  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-10-15 16:06:33  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-10-15 16:06:32  0.00B 
/bin/sh -c #(nop) LABEL summary="Provides the latest release of the minimal Red Hat Universal Base Image 9."
                        
# 2025-10-15 16:06:32  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-10-15 16:06:32  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-minimal-container"       name="ubi9/ubi-minimal"       version="9.6"       cpe="cpe:/a:redhat:enterprise_linux:9::appstream"       distribution-scope="public"
                        
# 2025-10-15 16:06:32  0.00B 
/bin/sh -c #(nop) LABEL url="https://catalog.redhat.com/en/search?searchType=containers"
                        
# 2025-10-15 16:06:32  0.00B 
/bin/sh -c #(nop) LABEL vendor="Red Hat, Inc."
                        
# 2025-10-15 16:06:32  0.00B 
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
                        
                    

镜像信息

{
    "Id": "sha256:7a41a39cfaecca0041d3c269300ce1c4cdee789114fcf53d7600fe91f59f7a38",
    "RepoTags": [
        "docker.elastic.co/elastic-agent/elastic-agent:9.2.1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elastic-agent/elastic-agent:9.2.1"
    ],
    "RepoDigests": [
        "docker.elastic.co/elastic-agent/elastic-agent@sha256:fc7bbda4e923240cb800be04a144377de6db2aab08edead4093610b2e2596a81",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elastic-agent/elastic-agent@sha256:41bd97f7dd2b669454b42faa05507b1380b000a5741b436d0d74960efc515ee0"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-11-07T09:21:46.32537499Z",
    "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-10-15T08:06:12Z",
            "com.redhat.component": "ubi9-minimal-container",
            "com.redhat.license_terms": "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI",
            "cpe": "cpe:/a:redhat:enterprise_linux:9::appstream",
            "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.41.4",
            "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-11-07T09:16:37Z",
            "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": "db3bfa212ae90d4172a030acd43f51aaca2ad87a",
            "org.label-schema.vcs-url": "github.com/elastic/elastic-agent",
            "org.label-schema.vendor": "Elastic",
            "org.label-schema.version": "9.2.1",
            "org.opencontainers.image.authors": "infra@elastic.co",
            "org.opencontainers.image.created": "2025-11-07T09:16:37Z",
            "org.opencontainers.image.licenses": "Elastic License",
            "org.opencontainers.image.revision": "d1b15a34ce69ea214e1d32f1f501304f6b8b8c59",
            "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": "d1b15a34ce69ea214e1d32f1f501304f6b8b8c59",
            "vcs-type": "git",
            "vendor": "Elastic",
            "version": "9.2.1"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1876281132,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/b8d6275fa2f86dca4b427b0c1fc5b3cb45f59d7a018582ccadf27478b14acf4d/diff:/var/lib/docker/overlay2/f91429c71681db1d7aaa84b905c21df0fc79775016d8bb0ce663014151ec7913/diff:/var/lib/docker/overlay2/a1daf77614f08ef9e9b4cf4a46f5e0f93fb86842a814c7e9ebb7a68ec97f4e85/diff:/var/lib/docker/overlay2/a15b657ade1768b1dbbcd820156a5519c644b897f9544fc4c2e5ce1501ea7c54/diff:/var/lib/docker/overlay2/d5f03a647a4c28836fc54cef983dbd4e0d74b67631f9c4165bc3806b2777be84/diff:/var/lib/docker/overlay2/8bf91f397f7f4bec2f6c4037c3d8c446586bf8240fea998bf8e7d3452896d6e5/diff:/var/lib/docker/overlay2/89db82640f0f36337ae1c8b691009958d4c432f8f7be94562153141b94472193/diff:/var/lib/docker/overlay2/79a618933b61b8599a4533c39eaeab08de56da2967abbc73bd214f26a405dae7/diff:/var/lib/docker/overlay2/65cdde5d506f83df65802af55f6b2e5187f37d5e643d86bc44aa3efd57b79604/diff:/var/lib/docker/overlay2/3f5cd35fc14990f472a067e6c4ef07870d76858c4fbe26255314394c55cbd197/diff",
            "MergedDir": "/var/lib/docker/overlay2/cae26d5a2a53c32ec3b20914fb01c6e6ff3f1b36a6d8cc7dabc94705c9d344fe/merged",
            "UpperDir": "/var/lib/docker/overlay2/cae26d5a2a53c32ec3b20914fb01c6e6ff3f1b36a6d8cc7dabc94705c9d344fe/diff",
            "WorkDir": "/var/lib/docker/overlay2/cae26d5a2a53c32ec3b20914fb01c6e6ff3f1b36a6d8cc7dabc94705c9d344fe/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:004d2c90a65694c2830b06fddc1047d40063c6cb36fb31a5a3edfce9435326c6",
            "sha256:a683aa5c9143495bd7347fa53d62a85a3a262e515be1b898dd3b86890010d960",
            "sha256:67e8c6afc41440ca088b130d30f6d13c1bfc9611fcf18696a2a926f4007bdaf4",
            "sha256:5a8fee2a72d3a41b4a90efa3be48d4492d73f3aefc1a74009165138673096882",
            "sha256:cb61926471b1e5aa375f2722f5daf6bf4e37939b5c22a7d2975504a4f19144f3",
            "sha256:7f0705ade24e0d17a5f968261a88d03a1dde1f64a5ff8e58b8b825039a3fb9fb",
            "sha256:a5ebe69ac530be3f5b04a1b68f9274e9450700db3773b06b23a9a204022f5676",
            "sha256:d86f54ac44b3e7b602379a6cb19260dea16cea9648edcbefcc82410be604446f",
            "sha256:9523f609076a99b7dd45f33c333641b9ba28631587c4583ad64961643fc6457d",
            "sha256:5888cd54467c23c9b37cdbeeba0afc9bb06a20edff2e5c73d5bb7732bb8ff694",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-12-03T10:01:18.672924659+08:00"
    }
}

更多版本

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

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

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

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

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

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

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

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