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

docker.elastic.co/elastic-agent/elastic-agent:8.15.2 - 国内下载镜像源 浏览次数:172 安全受验证的发布者-Elastic
这是docker容器镜像描述信息: 名称:
Elastic Agent
描述:
Elastic Agent 是一个轻量级代理,用于收集数据并将其传递给 Elastic Stack。它可以在多种环境中部署,包括 Linux、Windows 和 macOS。Elastic Agent 支持多种数据源和目的地,并提供了一个易用的接口来定义和管理数据流。
源镜像 docker.elastic.co/elastic-agent/elastic-agent:8.15.2
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elastic-agent/elastic-agent:8.15.2
镜像ID sha256:d68ee19745a4c5fb6cf70cc30739d908054f6a985b2b98c8634b61210391f4c3
镜像TAG 8.15.2
大小 1.31GB
镜像源 docker.elastic.co
CMD
启动入口 /usr/bin/tini -- /usr/local/bin/docker-entrypoint
工作目录 /usr/share/elastic-agent
OS/平台 linux/amd64
浏览量 172 次
贡献者
镜像创建 2024-09-19T17:23:21.281035556Z
同步时间 2024-10-06 17:44
更新时间 2025-02-20 13:21
环境变量
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 2024-09-19T17:19:57Z: 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 621bbc685c2de8a2ad2c7c7f7cc1eb5fcf77d6d4: org.label-schema.vcs-ref github.com/elastic/elastic-agent: org.label-schema.vcs-url Elastic: org.label-schema.vendor 8.15.2: org.label-schema.version 2024-09-19T17:19:57Z: 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 20.04: org.opencontainers.image.version 1: release elastic-agent: summary https://www.elastic.co/elastic-agent: url Elastic: vendor 8.15.2: version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 20.04 扫描引擎: Trivy 扫描时间: 2024-10-24 22:35

低危漏洞:34 中危漏洞:28 高危漏洞:10 严重漏洞:0

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

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

Containerd拉取命令

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

Shell快速替换命令

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

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

镜像构建历史


# 2024-09-20 01:23:21  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/bin/tini" "--" "/usr/local/bin/docker-entrypoint"]
                        
# 2024-09-20 01:23:21  0.00B 设置工作目录为/usr/share/elastic-agent
WORKDIR /usr/share/elastic-agent
                        
# 2024-09-20 01:23:21  0.00B 设置环境变量 LIBBEAT_MONITORING_CGROUPS_HIERARCHY_OVERRIDE
ENV LIBBEAT_MONITORING_CGROUPS_HIERARCHY_OVERRIDE=/
                        
# 2024-09-20 01:23:21  0.00B 指定运行容器时使用的用户
USER elastic-agent
                        
# 2024-09-20 01:23:21  3.38MB 复制新文件或目录到容器中
COPY /usr/share/elastic-agent/NOTICE.txt /licenses # buildkit
                        
# 2024-09-20 01:23:21  13.68KB 复制新文件或目录到容器中
COPY /usr/share/elastic-agent/LICENSE.txt /licenses # buildkit
                        
# 2024-09-20 01:23:21  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir /licenses # buildkit
                        
# 2024-09-20 01:23:20  158.47KB 执行命令并创建新的镜像层
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-621bbc/components -name "*.yml*" -type f -exec chown root:root {} \; &&     true # buildkit
                        
# 2024-09-20 01:23:19  1.16GB 复制新文件或目录到容器中
COPY /usr/share/elastic-agent /usr/share/elastic-agent # buildkit
                        
# 2024-09-20 01:22:57  329.49KB 执行命令并创建新的镜像层
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
                        
# 2024-09-20 01:22:53  426.00B 复制新文件或目录到容器中
COPY docker-entrypoint /usr/local/bin/docker-entrypoint # buildkit
                        
# 2024-09-20 01:22:53  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
                        
# 2024-09-20 01:22:52  0.00B 设置环境变量 GODEBUG
ENV GODEBUG=madvdontneed=1
                        
# 2024-09-20 01:22:52  0.00B 设置环境变量 PATH
ENV PATH=/usr/share/elastic-agent:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-09-20 01:22:52  0.00B 设置环境变量 ELASTIC_CONTAINER
ENV ELASTIC_CONTAINER=true
                        
# 2024-09-20 01:22:52  0.00B 添加元数据标签
LABEL org.label-schema.build-date=2024-09-19T17:19:57Z 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.15.2 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=621bbc685c2de8a2ad2c7c7f7cc1eb5fcf77d6d4 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=2024-09-19T17:19:57Z org.opencontainers.image.licenses=Elastic License org.opencontainers.image.title=Elastic-Agent org.opencontainers.image.vendor=Elastic name=elastic-agent maintainer=infra@elastic.co vendor=Elastic version=8.15.2 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.
                        
# 2024-09-20 01:22:52  71.87MB 执行命令并创建新的镜像层
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
                        
# 2024-09-20 01:22:52  0.00B 设置环境变量 BEAT_SETUID_AS
ENV BEAT_SETUID_AS=elastic-agent
                        
# 2024-08-13 17:26:48  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2024-08-13 17:26:48  72.81MB 
/bin/sh -c #(nop) ADD file:e7cff353f027ecf0a2cb1cdd51714de3b083a11a0d965f104489f9a7e6925056 in / 
                        
# 2024-08-13 17:26:46  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=20.04
                        
# 2024-08-13 17:26:46  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2024-08-13 17:26:46  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2024-08-13 17:26:46  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:d68ee19745a4c5fb6cf70cc30739d908054f6a985b2b98c8634b61210391f4c3",
    "RepoTags": [
        "docker.elastic.co/elastic-agent/elastic-agent:8.15.2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elastic-agent/elastic-agent:8.15.2"
    ],
    "RepoDigests": [
        "docker.elastic.co/elastic-agent/elastic-agent@sha256:54aed4ba6abf78dc0c1d32c2814fa30ff9039af24503d584d1192474c4b035a9",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/elastic-agent/elastic-agent@sha256:929dc31c6eae71cfab261a3381db5912570198e9c533c6f81234fd52d367acb0"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-09-19T17:23:21.281035556Z",
    "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": "2024-09-19T17:19:57Z",
            "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": "621bbc685c2de8a2ad2c7c7f7cc1eb5fcf77d6d4",
            "org.label-schema.vcs-url": "github.com/elastic/elastic-agent",
            "org.label-schema.vendor": "Elastic",
            "org.label-schema.version": "8.15.2",
            "org.opencontainers.image.created": "2024-09-19T17:19:57Z",
            "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": "20.04",
            "release": "1",
            "summary": "elastic-agent",
            "url": "https://www.elastic.co/elastic-agent",
            "vendor": "Elastic",
            "version": "8.15.2"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1310342762,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/5fce842c1eaf2ff6067e2de4f2795d91c8ce64229a259c92a3bfb036cbc1dabe/diff:/var/lib/docker/overlay2/777656dc38d21af54eb07a3e0e4171c0d36ae5d0bfd9b17cb20f9976097cfd55/diff:/var/lib/docker/overlay2/697d368383f51d5e3fceb0a917637eb1e37934537c9c4cacecb18bbbfc6be788/diff:/var/lib/docker/overlay2/b48fd0adbaf171c1f74c5f807ff70ae3867a8a3252f130faf392589f1c7260c4/diff:/var/lib/docker/overlay2/f13c7b43e9b6068968e54fb702dc633263c44c72bcd9a3168ac56efcc1b481a6/diff:/var/lib/docker/overlay2/8d5b686a4b6dc971b740f0a3b5677b1a34bb495bba0e9383505ad20d337fedf1/diff:/var/lib/docker/overlay2/c23e4452ceb3c58176fabf413f1a52b5312699aefcb32e8326e158b2b592ee25/diff:/var/lib/docker/overlay2/066b9e116d57b55cd6fb9c295d8522fa265cf25595c5542a035aa6674442a885/diff:/var/lib/docker/overlay2/f5bb2282fae95ee8abc3eb9b567cc0d3d3a112a68bb50d21b0b791a2a2a3ba8b/diff:/var/lib/docker/overlay2/65a71f3d6fa2d3ed5132e17de9d09a24ccaae8dac76a730d0389a0d449b96e0f/diff",
            "MergedDir": "/var/lib/docker/overlay2/59b20b054f83eed39d84e442dc9d71a7776c0c2aa4603359cf30aeab62bb11b5/merged",
            "UpperDir": "/var/lib/docker/overlay2/59b20b054f83eed39d84e442dc9d71a7776c0c2aa4603359cf30aeab62bb11b5/diff",
            "WorkDir": "/var/lib/docker/overlay2/59b20b054f83eed39d84e442dc9d71a7776c0c2aa4603359cf30aeab62bb11b5/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:3ec3ded77c0ce89e931f92aed086b2a2c774a6fbd51617853decc8afa4e1087a",
            "sha256:46c29ada3d98500aefc46de6702a620a1aafaf62ab3973bf33cd4257393412df",
            "sha256:17a70875006740fe5fb9b74e0335a94ec2185f4326ed92c2e123bb23f980c157",
            "sha256:a86f9a718042643943dbb5e270f94d3225f9e3cd4798f61d07d951e23056a5ef",
            "sha256:cf4bc1c1d0a7f55d0381851cad4f6cad0cd0782d61b9b3ea855f8c88f744014f",
            "sha256:294ea3db45ee44df169afdd461c4abfd73b0ce587f04f4c811fcae31083288f5",
            "sha256:986a8a0fd12eca79873b3297febba36f95c3ae2cd11558a89cb8027d53ea159b",
            "sha256:edbc9f2e38c1587a54fa9af23e86e02c240893cb57bfb1a4bfe3faf7ce502c9e",
            "sha256:43abc8a87b3c5331aefe8bd84013b3f54aca7cf1d7c0257d05dc59f47ea6087e",
            "sha256:03156651c1c4598df21acf097d0e9b4ca43d82b9fd57ac791b5f8ef557d5f73b",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-06T17:43:12.648875037+08:00"
    }
}

更多版本

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

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