广告图片

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

docker.elastic.co/beats/elastic-agent:8.19.7 - 国内下载镜像源 浏览次数:5 虎眼 贡献同步 安全受验证的发布者-Elastic

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

源镜像 docker.elastic.co/beats/elastic-agent:8.19.7
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/beats/elastic-agent:8.19.7
镜像ID sha256:73d7cfe2cfac5d243fd7d5ef09ecef3d15af932591c424b0e0d0acc01e0d389a
镜像TAG 8.19.7
大小 2.00GB
镜像源 docker.elastic.co
CMD
启动入口 /usr/bin/tini -- /usr/local/bin/docker-entrypoint
工作目录 /usr/share/elastic-agent
OS/平台 linux/amd64
浏览量 5 次
贡献者
avatar
虎眼
镜像创建 2025-11-07T15:54:35.202049077Z
同步时间 2026-04-26 11:33
环境变量
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=/
镜像标签
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-11-07T15:50:03Z: 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 0ba7b4aeb6b9b653ff21de86b1715ebbf79f1a46: org.label-schema.vcs-ref github.com/elastic/elastic-agent: org.label-schema.vcs-url Elastic: org.label-schema.vendor 8.19.7: org.label-schema.version infra@elastic.co: org.opencontainers.image.authors 2025-11-07T15:50:03Z: 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.19.7: version

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#docker.elastic.co/beats/elastic-agent:8.19.7#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/beats/elastic-agent:8.19.7#' 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.19.7 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/beats/elastic-agent:8.19.7  docker.elastic.co/beats/elastic-agent:8.19.7'

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.19.7 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/beats/elastic-agent:8.19.7  docker.elastic.co/beats/elastic-agent:8.19.7'

镜像构建历史


# 2025-11-07 23:54:35  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/bin/tini" "--" "/usr/local/bin/docker-entrypoint"]
                        
# 2025-11-07 23:54:35  0.00B 设置工作目录为/usr/share/elastic-agent
WORKDIR /usr/share/elastic-agent
                        
# 2025-11-07 23:54:35  0.00B 设置环境变量 LIBBEAT_MONITORING_CGROUPS_HIERARCHY_OVERRIDE
ENV LIBBEAT_MONITORING_CGROUPS_HIERARCHY_OVERRIDE=/
                        
# 2025-11-07 23:54:35  0.00B 指定运行容器时使用的用户
USER elastic-agent
                        
# 2025-11-07 23:54:35  5.43MB 复制新文件或目录到容器中
COPY /usr/share/elastic-agent/NOTICE.txt /licenses # buildkit
                        
# 2025-11-07 23:54:35  3.86KB 复制新文件或目录到容器中
COPY /usr/share/elastic-agent/LICENSE.txt /licenses # buildkit
                        
# 2025-11-07 23:54:35  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir /licenses # buildkit
                        
# 2025-11-07 23:54:28  160.82KB 执行命令并创建新的镜像层
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-0ba7b4/components -name "*.yml*" -type f -exec chown elastic-agent:elastic-agent {} \; &&     true # buildkit
                        
# 2025-11-07 23:54:21  1.83GB 复制新文件或目录到容器中
COPY --chown=elastic-agent:elastic-agent /usr/share/elastic-agent /usr/share/elastic-agent # buildkit
                        
# 2025-11-07 23:54:01  5.37KB 执行命令并创建新的镜像层
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 23:54:00  509.00B 复制新文件或目录到容器中
COPY docker-entrypoint /usr/local/bin/docker-entrypoint # buildkit
                        
# 2025-11-07 23:54:00  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 23:53:56  0.00B 设置环境变量 GODEBUG
ENV GODEBUG=madvdontneed=1
                        
# 2025-11-07 23:53:56  0.00B 设置环境变量 PATH
ENV PATH=/usr/share/elastic-agent:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2025-11-07 23:53:56  0.00B 设置环境变量 ELASTIC_CONTAINER
ENV ELASTIC_CONTAINER=true
                        
# 2025-11-07 23:53:56  0.00B 添加元数据标签
LABEL org.label-schema.build-date=2025-11-07T15:50:03Z 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.19.7 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=0ba7b4aeb6b9b653ff21de86b1715ebbf79f1a46 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-07T15:50:03Z 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.19.7 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 23:53:56  85.98MB 执行命令并创建新的镜像层
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 systemd &&         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-11-07 23:53:08  4.47KB 执行命令并创建新的镜像层
RUN /bin/sh -c touch /var/mail/ubuntu && chown ubuntu /var/mail/ubuntu && userdel -r ubuntu # buildkit
                        
# 2025-11-07 23:53:08  0.00B 设置环境变量 BEAT_SETUID_AS
ENV BEAT_SETUID_AS=elastic-agent
                        
# 2025-10-01 21:01:37  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2025-10-01 21:01:37  78.12MB 
/bin/sh -c #(nop) ADD file:249778a1782b02a1c2bcf9f292f5778d81442a53c3de1958d712f10baf7e0b60 in / 
                        
# 2025-10-01 21:01:35  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=24.04
                        
# 2025-10-01 21:01:35  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2025-10-01 21:01:35  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2025-10-01 21:01:35  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:73d7cfe2cfac5d243fd7d5ef09ecef3d15af932591c424b0e0d0acc01e0d389a",
    "RepoTags": [
        "docker.elastic.co/beats/elastic-agent:8.19.7",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/beats/elastic-agent:8.19.7"
    ],
    "RepoDigests": [
        "docker.elastic.co/beats/elastic-agent@sha256:df359fc4a8464632a54332d8b4d9d05d1af52eca866b2058bcd15bd6ede5020c",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/beats/elastic-agent@sha256:90b7dfdf9b44593ee7f50bac583c7c749f8be0d932d55727e357fd2ac5273d36"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-11-07T15:54:35.202049077Z",
    "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-11-07T15:50:03Z",
            "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": "0ba7b4aeb6b9b653ff21de86b1715ebbf79f1a46",
            "org.label-schema.vcs-url": "github.com/elastic/elastic-agent",
            "org.label-schema.vendor": "Elastic",
            "org.label-schema.version": "8.19.7",
            "org.opencontainers.image.authors": "infra@elastic.co",
            "org.opencontainers.image.created": "2025-11-07T15:50:03Z",
            "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.19.7"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 2001380394,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/f92275a095d7139d6b0c2c00ed96e0a8c3872d8aaba4101bc5115d4336f59d54/diff:/var/lib/docker/overlay2/212143a9688a33ca07d11ccc1c90c5c182dc3533df1717294193ea3df543d14f/diff:/var/lib/docker/overlay2/179d451d854d150e52f750632cb7fe14a549f557a739dfe83aa0e76b68aa4fe3/diff:/var/lib/docker/overlay2/f7cce01048876286572d671b13df2bcda9730b749691c75ad12db2b7b78ec951/diff:/var/lib/docker/overlay2/f8c4535fcbdae9b4c2da5a0a1e543a783e135bf9b8f3f11fac7b98b3e1353789/diff:/var/lib/docker/overlay2/22627cb84b61ce26048040d875ff4c06d099f172c5460cd1201a6f11dc854ab7/diff:/var/lib/docker/overlay2/c5c65c7a0b6db2a175d0d4d515150b6a78c8c5ad538a1884b78707d6e6925fe7/diff:/var/lib/docker/overlay2/1ef2b18d391e87a91777043a88983fed895cf650524951f157f268ed80162385/diff:/var/lib/docker/overlay2/5d3608f15cef5ff0fcc607f90dac46081cfa791269bd00f0ea35bf59ee1cbf98/diff:/var/lib/docker/overlay2/0786f96c025aa528c714e56590c17fbe7f45986b526d9332f5ab7de3da58ac37/diff:/var/lib/docker/overlay2/ea7866576f982c437d94bcf20fa148c4c4811453d36e01965d0d0dd2002a1482/diff",
            "MergedDir": "/var/lib/docker/overlay2/3c7d4437f138ff1a19bac955b1d7e9cce63766b985213ee71eca3e8fbf52dddf/merged",
            "UpperDir": "/var/lib/docker/overlay2/3c7d4437f138ff1a19bac955b1d7e9cce63766b985213ee71eca3e8fbf52dddf/diff",
            "WorkDir": "/var/lib/docker/overlay2/3c7d4437f138ff1a19bac955b1d7e9cce63766b985213ee71eca3e8fbf52dddf/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:073ec47a8c22dcaa4d6e5758799ccefe2f9bde943685830b1bf6fd2395f5eabc",
            "sha256:534a627e08747c7bbc1c0c919bd857da1f560f856aff0f6235db74c12d3a9840",
            "sha256:a54083a48aecab60ec296690abe6ae5797993374e7b6afd5f1551d0032de7f6e",
            "sha256:514a4c9013babc8cd80099d165edcf11b281a41da08b7fd0dc185600348f5d7e",
            "sha256:82f445f97e14e7a9c0cd03e1334e7dd8b8d40c14646bf2ce51de596fc776047b",
            "sha256:bc55f0707fec30498bfcebc5d879b5689ee33e4ae83a75aaea8c22bf80e7a714",
            "sha256:8394535eef2b13af6a9a1014eb13593bf39f22287d7872f00e3337e47ee8844f",
            "sha256:2df518ce4e9cd74a72409f01d118a4b89d2ad3fab22bd7fe358f54b195d65f03",
            "sha256:fc244976c99a0e30ae8fd5d17e7eae138b16ece343215de245d560b6cb12cb05",
            "sha256:f234dac951c8047ce4ce26ff5b0f1a4260418115d129b99ce11004fd828cd489",
            "sha256:b77634325ede7973811bf344d4c07f91e2100cbbc4e2254fdff2f98bab15f2f0",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-04-26T11:32:04.16365938+08:00"
    }
}

更多版本

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

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

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

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

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

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