logo
docker.elastic.co/beats/elastic-agent:8.18.8
linux/arm64 docker.elastic.co 已验证 · Elastic 请确认架构匹配

这是一个 Elastic Stack 的 Elastic Agent 镜像,由 Elastic 公司提供。Elastic Agent 是一个轻量级的统一代理,可以收集各种日志和指标数据,并将其发送到 Elasticsearch。

13
浏览次数
1.75GB
镜像大小
源镜像
docker.elastic.co/beats/elastic-agent:8.18.8
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/beats/elastic-agent:8.18.8-linuxarm64
镜像ID
sha256:0596beab87844445f74b7721cb009707784c607add7dc9ff327e5be88433bb85
镜像 TAG
8.18.8-linuxarm64
镜像大小
1.75GB
平台架构
linux/arm64
镜像源
docker.elastic.co
CMD
启动入口
/usr/bin/tini -- /usr/local/bin/docker-entrypoint
工作目录
/usr/share/elastic-agent
OS/平台
linux/arm64
镜像创建
2025-10-03T11:07:41.313289578Z
同步时间
2026-06-28 16:31
浏览量
13 次
贡献者
⚙️ 环境变量 5
KeyValue
PATH=/usr/share/elastic-agent:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
BEAT_SETUID_AS=elastic-agent 1
ELASTIC_CONTAINER=true 2
GODEBUG=madvdontneed=1 3
LIBBEAT_MONITORING_CGROUPS_HIERARCHY_OVERRIDE=/ 4
🏷️ 镜像标签 27
KeyValue
Elastic Agent - single, unified way to add monitoring for logs, metrics, and other types of data to a host. description
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
Elastic License license
infra@elastic.co maintainer
elastic-agent name
2025-10-03T10:56:40Z 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
bb58d0a9459ad1277b3a105ae9ca466377d16594 org.label-schema.vcs-ref
github.com/elastic/elastic-agent org.label-schema.vcs-url
Elastic org.label-schema.vendor
8.18.8 org.label-schema.version
infra@elastic.co org.opencontainers.image.authors
2025-10-03T10:56:40Z org.opencontainers.image.created
Elastic License org.opencontainers.image.licenses
ubuntu org.opencontainers.image.ref.name
Elastic-Agent org.opencontainers.image.title
Elastic org.opencontainers.image.vendor
24.04 org.opencontainers.image.version
1 release
elastic-agent summary
https://www.elastic.co/elastic-agent url
Elastic vendor
8.18.8 version
🛡️ 镜像安全扫描
ubuntu 24.04 Trivy 2026-06-28 16:31 查看完整报告
113
低危 LOW
440
中危 MEDIUM
346
高危 HIGH
19
严重 CRITICAL
受影响目标 (12)
docker.elastic.co/beats/elastic-agent:8.18.8 (ubuntu 24.04) ubuntu Java jar usr/share/elastic-agent/data/elastic-agent-bb58d0/components/agentbeat gobinary usr/share/elastic-agent/data/elastic-agent-bb58d0/components/apm-server gobinary usr/share/elastic-agent/data/elastic-agent-bb58d0/components/cloud-defend gobinary usr/share/elastic-agent/data/elastic-agent-bb58d0/components/cloudbeat gobinary usr/share/elastic-agent/data/elastic-agent-bb58d0/components/fleet-server gobinary usr/share/elastic-agent/data/elastic-agent-bb58d0/components/osquery-extension.ext gobinary usr/share/elastic-agent/data/elastic-agent-bb58d0/components/pf-elastic-collector gobinary usr/share/elastic-agent/data/elastic-agent-bb58d0/components/pf-elastic-symbolizer gobinary usr/share/elastic-agent/data/elastic-agent-bb58d0/components/pf-host-agent gobinary usr/share/elastic-agent/data/elastic-agent-bb58d0/elastic-agent gobinary

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2025-10-03 19:07:41  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/bin/tini" "--" "/usr/local/bin/docker-entrypoint"]
                        
# 2025-10-03 19:07:41  0.00B 设置工作目录为/usr/share/elastic-agent
WORKDIR /usr/share/elastic-agent
                        
# 2025-10-03 19:07:41  0.00B 设置环境变量 LIBBEAT_MONITORING_CGROUPS_HIERARCHY_OVERRIDE
ENV LIBBEAT_MONITORING_CGROUPS_HIERARCHY_OVERRIDE=/
                        
# 2025-10-03 19:07:41  0.00B 指定运行容器时使用的用户
USER elastic-agent
                        
# 2025-10-03 19:07:41  4.53MB 复制新文件或目录到容器中
COPY /usr/share/elastic-agent/NOTICE.txt /licenses # buildkit
                        
# 2025-10-03 19:07:41  3.86KB 复制新文件或目录到容器中
COPY /usr/share/elastic-agent/LICENSE.txt /licenses # buildkit
                        
# 2025-10-03 19:07:26  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir /licenses # buildkit
                        
# 2025-10-03 19:07:25  159.78KB 执行命令并创建新的镜像层
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-bb58d0/components -name "*.yml*" -type f -exec chown elastic-agent:elastic-agent {} \; &&     true # buildkit
                        
# 2025-10-03 19:07:21  1.57GB 复制新文件或目录到容器中
COPY /usr/share/elastic-agent /usr/share/elastic-agent # buildkit
                        
# 2025-10-03 19:03:56  4.98KB 执行命令并创建新的镜像层
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-10-03 19:03:56  509.00B 复制新文件或目录到容器中
COPY docker-entrypoint /usr/local/bin/docker-entrypoint # buildkit
                        
# 2025-10-03 19:03:55  23.90KB 执行命令并创建新的镜像层
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-10-03 19:03:55  0.00B 设置环境变量 GODEBUG
ENV GODEBUG=madvdontneed=1
                        
# 2025-10-03 19:03:55  0.00B 设置环境变量 PATH
ENV PATH=/usr/share/elastic-agent:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2025-10-03 19:03:55  0.00B 设置环境变量 ELASTIC_CONTAINER
ENV ELASTIC_CONTAINER=true
                        
# 2025-10-03 19:03:55  0.00B 添加元数据标签
LABEL org.label-schema.build-date=2025-10-03T10:56:40Z 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=8.18.8 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=bb58d0a9459ad1277b3a105ae9ca466377d16594 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-10-03T10:56:40Z 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=8.18.8 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-10-03 19:03:55  75.90MB 执行命令并创建新的镜像层
RUN /bin/sh -c for iter in {1..10}; do         apt-get update -y &&         DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --yes ca-certificates curl gawk xz-utils &&         apt-get clean all &&         exit_code=0 && break || exit_code=$? && echo "apt-get error: retry $iter in 10s" && sleep 10;     done;     (exit $exit_code) # buildkit
                        
# 2025-10-03 19:02:04  4.47KB 执行命令并创建新的镜像层
RUN /bin/sh -c touch /var/mail/ubuntu && chown ubuntu /var/mail/ubuntu && userdel -r ubuntu # buildkit
                        
# 2025-10-03 19:02:04  0.00B 设置环境变量 BEAT_SETUID_AS
ENV BEAT_SETUID_AS=elastic-agent
                        
# 2025-09-30 22:36:15  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2025-09-30 22:36:15  100.71MB 
/bin/sh -c #(nop) ADD file:2b1a3adb91c564e3fe655be94477504bbc81d767317b3181efd5cd6ae287b26f in / 
                        
# 2025-09-30 22:36:11  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=24.04
                        
# 2025-09-30 22:36:11  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2025-09-30 22:36:10  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2025-09-30 22:36:10  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:0596beab87844445f74b7721cb009707784c607add7dc9ff327e5be88433bb85",
    "RepoTags": [
        "docker.elastic.co/beats/elastic-agent:8.18.8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/beats/elastic-agent:8.18.8-linuxarm64"
    ],
    "RepoDigests": [
        "docker.elastic.co/beats/elastic-agent@sha256:385d13a22387f6a0ee34c931637f6d7616aba16f993ebbc2bf8a14c882786689",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/beats/elastic-agent@sha256:ee6876f44d3aa06d25f02e56ce98cccada583cb151de900597a031fd87213746"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-10-03T11:07:41.313289578Z",
    "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",
            "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": {
            "description": "Elastic Agent - single, unified way to add monitoring for logs, metrics, and other types of data to a host.",
            "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",
            "license": "Elastic License",
            "maintainer": "infra@elastic.co",
            "name": "elastic-agent",
            "org.label-schema.build-date": "2025-10-03T10:56:40Z",
            "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": "bb58d0a9459ad1277b3a105ae9ca466377d16594",
            "org.label-schema.vcs-url": "github.com/elastic/elastic-agent",
            "org.label-schema.vendor": "Elastic",
            "org.label-schema.version": "8.18.8",
            "org.opencontainers.image.authors": "infra@elastic.co",
            "org.opencontainers.image.created": "2025-10-03T10:56:40Z",
            "org.opencontainers.image.licenses": "Elastic License",
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.title": "Elastic-Agent",
            "org.opencontainers.image.vendor": "Elastic",
            "org.opencontainers.image.version": "24.04",
            "release": "1",
            "summary": "elastic-agent",
            "url": "https://www.elastic.co/elastic-agent",
            "vendor": "Elastic",
            "version": "8.18.8"
        }
    },
    "Architecture": "arm64",
    "Variant": "v8",
    "Os": "linux",
    "Size": 1754755328,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/da7d74ae0eac44d87a1e620b34dc5bb8718735cb926f49f3ecf63eeaac2ca857/diff:/var/lib/docker/overlay2/748d2cb481e1020a439a3b90aabe3edd78e480e9b2d7cef3c873a24627fa7d89/diff:/var/lib/docker/overlay2/a13b647de088ffc367af8475e4677fc57d4979c9b0b935ff8227d5b4f1df3572/diff:/var/lib/docker/overlay2/9b630d01a08d8ea94b86523f0e13002ffa8c3b6b667cb144a07d26dd7bca7f9c/diff:/var/lib/docker/overlay2/6f5c875162e8ce83a7f07008376edd8e6c45247ebdee5e61e3225383f8758654/diff:/var/lib/docker/overlay2/0f9e7d2d66a5e1c7f69e0e1b272dfd13d14f05d1aaa86e28566267dfe63dcacf/diff:/var/lib/docker/overlay2/cbf0ccc14c40cae99a94194f8a328dc976ee8e87abab7183df03913fb8782806/diff:/var/lib/docker/overlay2/8083278a01039aee5cf1725aeab401a8533b66cb0fc96e5b1fc03d304ebeab7e/diff:/var/lib/docker/overlay2/1671ba86c0ffbc59a482debc2cd29eb6aa4e0b8b6b82f55be82e374e2d6144e4/diff:/var/lib/docker/overlay2/5a6b1222a1f61209e1f81ac406bb3f27c661d973a7a273f622da03738ef19f05/diff:/var/lib/docker/overlay2/f60156fa4e4eead68d9489c92d4f6bdc590b9b865116f1562df276be85115f05/diff",
            "MergedDir": "/var/lib/docker/overlay2/fbecd427f56d6f2654a08aa9264d5dacf4e8cfa220302d6664316a1b689f8d96/merged",
            "UpperDir": "/var/lib/docker/overlay2/fbecd427f56d6f2654a08aa9264d5dacf4e8cfa220302d6664316a1b689f8d96/diff",
            "WorkDir": "/var/lib/docker/overlay2/fbecd427f56d6f2654a08aa9264d5dacf4e8cfa220302d6664316a1b689f8d96/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:09f933d26ff9abea427706eebde6a8c8537cfd0c77315e562f48474e5bc068d1",
            "sha256:62a955874b2b15da93046ddf4f7a55e1d4b033bedd1b6c1701d55af0f5a07c73",
            "sha256:b4e654349cf8235b03a3881340eb1953f8e6a88ba8f32431a972f51a0a56edc9",
            "sha256:21cc6c9d81d2aae8576affce3c1ba74988114592a1cef3845173e26d6a903961",
            "sha256:5eff78e958433500d2b0b3e0ac805d8269e289095b3a08578b7fe46d11d1f239",
            "sha256:62c01d84d3254488aa17ab8c0aa072c251bcae79a3ac0b082ffb99ec006762c6",
            "sha256:37287465dd6119a7bc11fd0a48badcea9b588127437ffd716a8808fac35d587c",
            "sha256:37559f6c873d92f78b99d84226aad177c7e204ce5faaf4896fdf3c1d0a618dda",
            "sha256:559869892a5e754ee3a8247b9d684ed7581f556683c60146983f3815a786327f",
            "sha256:7dd0265f8979cc004745264db8f8e7f75c78f90e58b303c4bbd33b2a691d610e",
            "sha256:fee5034391ad8d25ad661b0bce8976e14b4e3b042f06cae878f673d32095ce99",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-06-28T16:29:54.761648891+08:00"
    }
}

更多版本

docker.elastic.co/beats/elastic-agent:8.13.3

linux/amd64 docker.elastic.co2.17GB2024-12-10 15:24
380

docker.elastic.co/beats/elastic-agent:8.19.7

linux/amd64 docker.elastic.co2.00GB2026-04-26 11:33
117

docker.elastic.co/beats/elastic-agent:8.19.14

linux/amd64 docker.elastic.co2.04GB2026-04-26 11:53
120

docker.elastic.co/beats/elastic-agent:8.18.8

linux/arm64 docker.elastic.co1.75GB2026-06-28 16:31
12
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×