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

docker.elastic.co/beats/elastic-agent:8.13.3 - 国内下载镜像源 浏览次数:23 安全受验证的发布者-Elastic
```html

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

```
源镜像 docker.elastic.co/beats/elastic-agent:8.13.3
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/beats/elastic-agent:8.13.3
镜像ID sha256:6509f95e3ff6ce525bd571da392fe8998c0331a0638e0b7292607245dc95e208
镜像TAG 8.13.3
大小 2.17GB
镜像源 docker.elastic.co
CMD
启动入口 /usr/bin/tini -- /usr/local/bin/docker-entrypoint
工作目录 /usr/share/elastic-agent
OS/平台 linux/amd64
浏览量 23 次
贡献者
镜像创建 2024-04-30T04:55:21.547805978Z
同步时间 2024-12-10 15:24
更新时间 2024-12-26 00:22
环境变量
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=/
镜像标签
Agent manages other beats based on configuration provided.: description Agent manages other beats based on configuration provided.: io.k8s.description Elastic-Agent image: io.k8s.display-name Elastic License: license infra@elastic.co: maintainer elastic-agent: name 2024-04-30T04:51:06Z: 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 b333e3ae42eac0861ef667a348207bfb5724bd30: org.label-schema.vcs-ref github.com/elastic/elastic-agent: org.label-schema.vcs-url Elastic: org.label-schema.vendor 8.13.3: org.label-schema.version 2024-04-30T04:51:06Z: 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.13.3: version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 20.04 扫描引擎: Trivy 扫描时间: 2024-12-10 15:26

低危漏洞:41 中危漏洞:180 高危漏洞:21 严重漏洞:27

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

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

Containerd拉取命令

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

Shell快速替换命令

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

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

镜像构建历史


# 2024-04-30 12:55:21  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/bin/tini" "--" "/usr/local/bin/docker-entrypoint"]
                        
# 2024-04-30 12:55:21  0.00B 设置工作目录为/usr/share/elastic-agent
WORKDIR /usr/share/elastic-agent
                        
# 2024-04-30 12:55:21  0.00B 设置环境变量 LIBBEAT_MONITORING_CGROUPS_HIERARCHY_OVERRIDE
ENV LIBBEAT_MONITORING_CGROUPS_HIERARCHY_OVERRIDE=/
                        
# 2024-04-30 12:55:21  0.00B 指定运行容器时使用的用户
USER elastic-agent
                        
# 2024-04-30 12:55:21  108.72MB 执行命令并创建新的镜像层
RUN /bin/sh -c setcap cap_net_raw,cap_setuid+p /usr/share/elastic-agent/data/elastic-agent-b333e3/components/heartbeat && true # buildkit
                        
# 2024-04-30 12:55:19  2.08MB 复制新文件或目录到容器中
COPY /usr/share/elastic-agent/NOTICE.txt /licenses # buildkit
                        
# 2024-04-30 12:55:19  13.68KB 复制新文件或目录到容器中
COPY /usr/share/elastic-agent/LICENSE.txt /licenses # buildkit
                        
# 2024-04-30 12:55:19  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir /licenses # buildkit
                        
# 2024-04-30 12:55:06  2.77MB 执行命令并创建新的镜像层
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-b333e3/components -name "*.yml*" -type f -exec chown root:root {} \; &&     true # buildkit
                        
# 2024-04-30 12:54:51  1.92GB 复制新文件或目录到容器中
COPY /usr/share/elastic-agent /usr/share/elastic-agent # buildkit
                        
# 2024-04-30 12:54:16  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-04-30 12:54:15  426.00B 复制新文件或目录到容器中
COPY docker-entrypoint /usr/local/bin/docker-entrypoint # buildkit
                        
# 2024-04-30 12:54:15  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-04-30 12:54:13  0.00B 设置环境变量 GODEBUG
ENV GODEBUG=madvdontneed=1
                        
# 2024-04-30 12:54:13  0.00B 设置环境变量 PATH
ENV PATH=/usr/share/elastic-agent:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-04-30 12:54:13  0.00B 设置环境变量 ELASTIC_CONTAINER
ENV ELASTIC_CONTAINER=true
                        
# 2024-04-30 12:54:13  0.00B 添加元数据标签
LABEL org.label-schema.build-date=2024-04-30T04:51:06Z 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.13.3 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=b333e3ae42eac0861ef667a348207bfb5724bd30 io.k8s.description=Agent manages other beats based on configuration provided. io.k8s.display-name=Elastic-Agent image org.opencontainers.image.created=2024-04-30T04:51:06Z 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.13.3 release=1 url=https://www.elastic.co/elastic-agent summary=elastic-agent license=Elastic License description=Agent manages other beats based on configuration provided.
                        
# 2024-04-30 12:54:13  68.66MB 执行命令并创建新的镜像层
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 libcap2-bin 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-04-30 12:54:13  0.00B 设置环境变量 BEAT_SETUID_AS
ENV BEAT_SETUID_AS=elastic-agent
                        
# 2024-04-18 02:23:33  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2024-04-18 02:23:33  72.81MB 
/bin/sh -c #(nop) ADD file:f0e219aa0262921f4667bb1a79ad839b3efd92e23eef2d1b5eba9cfe4eaf78cc in / 
                        
# 2024-04-18 02:23:31  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=20.04
                        
# 2024-04-18 02:23:31  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2024-04-18 02:23:31  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2024-04-18 02:23:31  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:6509f95e3ff6ce525bd571da392fe8998c0331a0638e0b7292607245dc95e208",
    "RepoTags": [
        "docker.elastic.co/beats/elastic-agent:8.13.3",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/beats/elastic-agent:8.13.3"
    ],
    "RepoDigests": [
        "docker.elastic.co/beats/elastic-agent@sha256:b6239270ccb8cb9c45fdf91b8c9e9846d5e71941cbeef16904acdb66f36f5e34",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.elastic.co/beats/elastic-agent@sha256:7679173ba282f9099969e407e0380bdfed4d3b48a478592755480ceea54632fa"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-04-30T04:55:21.547805978Z",
    "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": "Agent manages other beats based on configuration provided.",
            "io.k8s.description": "Agent manages other beats based on configuration provided.",
            "io.k8s.display-name": "Elastic-Agent image",
            "license": "Elastic License",
            "maintainer": "infra@elastic.co",
            "name": "elastic-agent",
            "org.label-schema.build-date": "2024-04-30T04:51:06Z",
            "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": "b333e3ae42eac0861ef667a348207bfb5724bd30",
            "org.label-schema.vcs-url": "github.com/elastic/elastic-agent",
            "org.label-schema.vendor": "Elastic",
            "org.label-schema.version": "8.13.3",
            "org.opencontainers.image.created": "2024-04-30T04:51:06Z",
            "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.13.3"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 2171661529,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/7813971ddf8a8a5ba7bf0c82f21778d1ffd177bacc0d6aab1f4604d37d41d6a3/diff:/var/lib/docker/overlay2/6d56b151e777fe1f4e6477b5ef4b0b64681ea396f0e37b275ad3d48cc21d0093/diff:/var/lib/docker/overlay2/da0923db2fb349b529dc045b56a332c1dae4ca6825705757ffbfe488db69ead1/diff:/var/lib/docker/overlay2/b4a1e4481726f6c4df0d98b32feb0bbcb1752d20c76b255b089f8a344c3f4449/diff:/var/lib/docker/overlay2/6037c4a495af76d1b5fb51cd07f46c20059d42e57db76807f883934c39340bbd/diff:/var/lib/docker/overlay2/e9660d64720f53c477583fcfcaf1ea08dcf5a4ae7afd54a66362c9ec92d8c23f/diff:/var/lib/docker/overlay2/35032a1095330ca51c68beeb78e0f3cb9db601010162e8e68483f94846989fec/diff:/var/lib/docker/overlay2/6d055eb17729b9d39f49915d431064d978004a6627209f7b35bce5c9d58d3ba2/diff:/var/lib/docker/overlay2/0d8eaf5f68112f24e84ab7cd11c2b9aee834a2af7111f9dfedabe8dc04b18d96/diff:/var/lib/docker/overlay2/d280ad68acf2aa18b82bfd1888ec2a63f6312ed91ab361bc9f1381630b33566f/diff:/var/lib/docker/overlay2/96ab59e2f48b8fbc33c4f0b0c31348f95425bd6e45ec06637b5dec4fce28b59c/diff",
            "MergedDir": "/var/lib/docker/overlay2/9f660a1cf9a9aac7bff0f96f22f675f87e659dacd5d77454512c5cc4667f1fd4/merged",
            "UpperDir": "/var/lib/docker/overlay2/9f660a1cf9a9aac7bff0f96f22f675f87e659dacd5d77454512c5cc4667f1fd4/diff",
            "WorkDir": "/var/lib/docker/overlay2/9f660a1cf9a9aac7bff0f96f22f675f87e659dacd5d77454512c5cc4667f1fd4/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:e915d510ff2b469b8d03347ad6e785254beeb449931f7631dbcede8e5f281540",
            "sha256:d30e1325589d06afbbbf57507585d874b3c9332b82e5986398ff1819ce0c8dad",
            "sha256:b7bb06f72e828cd5179bedec66bd9ae0d687b67a9d5ebcd3e3c0611475d6aade",
            "sha256:fbfe7d30b935728a3a7ea92162ff33d86bed2b3322088e5d3b84f54d9a3ecadb",
            "sha256:9dc4754ca3a8efadbd608471acdd1140a6ad63e3f4eff9c3d1dbe23eefc17286",
            "sha256:50433b1a54efd47aeb3a7418bf419423a864e65483b6750980b66d8885f4cc33",
            "sha256:03f85b7408c20bc196f83e66851678c4555f52bafceaff5c702497e43bebfe6b",
            "sha256:0546e8e7bd3a1a895419d642fe0af1e8a1d6c3e7a927daab4a4153abc9d108be",
            "sha256:fa11472c0fa337d844abce0bef94dc48de7ad52fab3d02f0886cd617b1e78136",
            "sha256:eed52faaffd35157656a025d04bb1279e5aef011425059b37faa4900c4ac99d3",
            "sha256:f7c1d2f8058aa871e285af126ff4cb55d42fac04df304c96ef96e7988b5e2922",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-10T15:22:52.89746523+08:00"
    }
}

更多版本

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

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