docker.io/logstash:8.16.1 linux/amd64

docker.io/logstash:8.16.1 - 国内下载镜像源 浏览次数:47
  • 镜像名称:logstash
  • 作者:Elastic
  • 描述:Logstash是一种用于收集、处理和输出数据的开源工具。它支持多种数据来源,包括文件系统、网络输入和API等,并且可以以多种输出方式将数据发送到不同的目标,如 Elasticsearch、Kibana、MySQL等。
  • 版本:latest
  • 大小:134MB
  • 创建时间:2019-03-04T00:42:44.00Z
  • 标签:
源镜像 docker.io/logstash:8.16.1
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/logstash:8.16.1
镜像ID sha256:fd31c622a44e005068175bd014caf3f2cbedd5e298d64434366759413ed01b50
镜像TAG 8.16.1
大小 881.88MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /usr/local/bin/docker-entrypoint
工作目录 /usr/share/logstash
OS/平台 linux/amd64
浏览量 47 次
贡献者
镜像创建 2024-11-21T14:43:56Z
同步时间 2024-12-05 17:31
更新时间 2024-12-27 13:38
开放端口
5044/tcp 9600/tcp
环境变量
PATH=/usr/share/logstash/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ELASTIC_CONTAINER=true LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
镜像标签
2024-11-19T01:53:47+00:00: org.label-schema.build-date Elastic License: org.label-schema.license logstash: org.label-schema.name 1.0: org.label-schema.schema-version https://www.elastic.co/products/logstash: org.label-schema.url https://github.com/elastic/logstash: org.label-schema.vcs-url Elastic: org.label-schema.vendor 8.16.1: org.label-schema.version 2024-11-19T01:53:47+00:00: org.opencontainers.image.created Logstash is a free and open server-side data processing pipeline that ingests data from a multitude of sources, transforms it, and then sends it to your favorite 'stash.': org.opencontainers.image.description Elastic License: org.opencontainers.image.licenses ubuntu: org.opencontainers.image.ref.name logstash: org.opencontainers.image.title Elastic: org.opencontainers.image.vendor 8.16.1: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 20.04 扫描引擎: Trivy 扫描时间: 2024-12-05 17:33

低危漏洞:36 中危漏洞:15 高危漏洞:0 严重漏洞:0

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/logstash:8.16.1
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/logstash:8.16.1  docker.io/logstash:8.16.1

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/logstash:8.16.1
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/logstash:8.16.1  docker.io/logstash:8.16.1

Shell快速替换命令

sed -i 's#logstash:8.16.1#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/logstash:8.16.1#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/logstash:8.16.1 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/logstash:8.16.1  docker.io/logstash:8.16.1'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/logstash:8.16.1 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/logstash:8.16.1  docker.io/logstash:8.16.1'

镜像构建历史


# 2024-11-21 22:43:56  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/local/bin/docker-entrypoint"]
                        
# 2024-11-21 22:43:56  0.00B 添加元数据标签
LABEL org.label-schema.schema-version=1.0 org.label-schema.vendor=Elastic org.opencontainers.image.vendor=Elastic org.label-schema.name=logstash org.opencontainers.image.title=logstash org.label-schema.version=8.16.1 org.opencontainers.image.version=8.16.1 org.label-schema.url=https://www.elastic.co/products/logstash org.label-schema.vcs-url=https://github.com/elastic/logstash org.label-schema.license=Elastic License org.opencontainers.image.licenses=Elastic License org.opencontainers.image.description=Logstash is a free and open server-side data processing pipeline that ingests data from a multitude of sources, transforms it, and then sends it to your favorite 'stash.' org.label-schema.build-date=2024-11-19T01:53:47+00:00 org.opencontainers.image.created=2024-11-19T01:53:47+00:00
                        
# 2024-11-21 22:43:56  0.00B 声明容器运行时监听的端口
EXPOSE map[5044/tcp:{} 9600/tcp:{}]
                        
# 2024-11-21 22:43:56  0.00B 指定运行容器时使用的用户
USER 1000
                        
# 2024-11-21 22:43:56  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c chmod 0755 /usr/local/bin/docker-entrypoint # buildkit
                        
# 2024-11-21 22:43:56  991.00B 复制新文件或目录到容器中
COPY bin/docker-entrypoint /usr/local/bin/ # buildkit
                        
# 2024-11-21 22:43:56  3.46MB 执行命令并创建新的镜像层
RUN /bin/sh -c env2yamlarch="$(dpkg --print-architecture)";   case "${env2yamlarch}" in     'x86_64'|'amd64')       env2yamlarch=amd64;       ;;     'aarch64'|'arm64')       env2yamlarch=arm64;       ;;     *) echo >&2 "error: unsupported architecture '$env2yamlarch'"; exit 1 ;;   esac;   mkdir -p /usr/local/bin;   cp env2yaml/env2yaml-${env2yamlarch} /usr/local/bin/env2yaml;   rm -rf env2yaml # buildkit
                        
# 2024-11-21 22:43:56  6.91MB 复制新文件或目录到容器中
COPY env2yaml/env2yaml-amd64 env2yaml/env2yaml-arm64 env2yaml/ # buildkit
                        
# 2024-11-21 22:43:56  0.00B 设置环境变量 LANG LC_ALL
ENV LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
                        
# 2024-11-21 22:43:56  8.51KB 执行命令并创建新的镜像层
RUN /bin/sh -c chown --recursive logstash:root config/ pipeline/ # buildkit
                        
# 2024-11-21 22:43:56  92.00B 复制新文件或目录到容器中
COPY pipeline/default.conf pipeline/logstash.conf # buildkit
                        
# 2024-11-21 22:43:56  8.33KB 复制新文件或目录到容器中
COPY config/pipelines.yml config/log4j2.properties config/log4j2.file.properties config/ # buildkit
                        
# 2024-11-21 22:43:56  91.00B 复制新文件或目录到容器中
COPY config/logstash-full.yml config/logstash.yml # buildkit
                        
# 2024-11-21 22:43:56  0.00B 设置环境变量 PATH
ENV PATH=/usr/share/logstash/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-11-21 22:43:56  0.00B 设置环境变量 ELASTIC_CONTAINER
ENV ELASTIC_CONTAINER=true
                        
# 2024-11-21 22:43:56  0.00B 设置工作目录为/usr/share/logstash
WORKDIR /usr/share/logstash
                        
# 2024-11-21 22:43:56  708.09MB 执行命令并创建新的镜像层
RUN /bin/sh -c curl -Lo - https://artifacts.elastic.co/downloads/logstash/logstash-8.16.1-linux-$(arch).tar.gz |   tar zxf - -C /usr/share &&   mv /usr/share/logstash-8.16.1 /usr/share/logstash &&   chown --recursive logstash:logstash /usr/share/logstash/ &&   chown -R logstash:root /usr/share/logstash &&   chmod -R g=u /usr/share/logstash &&   mkdir /licenses/ &&   mv /usr/share/logstash/NOTICE.TXT /licenses/NOTICE.TXT &&   mv /usr/share/logstash/LICENSE.txt /licenses/LICENSE.txt &&   find /usr/share/logstash -type d -exec chmod g+s {} \; &&   ln -s /usr/share/logstash /opt/logstash # buildkit
                        
# 2024-11-21 22:43:56  329.03KB 执行命令并创建新的镜像层
RUN /bin/sh -c groupadd --gid 1000 logstash &&   adduser --uid 1000 --gid 1000 --home /usr/share/logstash --no-create-home logstash # buildkit
                        
# 2024-11-21 22:43:56  90.26MB 执行命令并创建新的镜像层
RUN /bin/sh -c for iter in {1..10}; do       export DEBIAN_FRONTEND=noninteractive &&     apt-get update -y &&   apt-get upgrade -y &&   apt-get install -y procps findutils tar gzip &&         apt-get install -y locales &&         apt-get install -y curl &&     apt-get clean all &&       locale-gen 'en_US.UTF-8' &&     apt-get clean metadata &&   exit_code=0 && break || exit_code=$? && echo "packaging error: retry $iter in 10s" && apt-get clean all &&   apt-get clean metadata && sleep 10; done; (exit $exit_code) # buildkit
                        
# 2024-10-11 11:38:27  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2024-10-11 11:38:27  72.81MB 
/bin/sh -c #(nop) ADD file:7486147a645d8835a5181c79f00a3606c6b714c83bcbfcd8862221eb14690f9e in / 
                        
# 2024-10-11 11:38:25  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=20.04
                        
# 2024-10-11 11:38:25  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2024-10-11 11:38:25  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2024-10-11 11:38:25  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:fd31c622a44e005068175bd014caf3f2cbedd5e298d64434366759413ed01b50",
    "RepoTags": [
        "logstash:8.16.1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/logstash:8.16.1"
    ],
    "RepoDigests": [
        "logstash@sha256:dca706ef2cf7b0ea326f49bec73647c04270fc763d73eabf93408161955793a0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/logstash@sha256:147ed6b34cae61eb4a399ec95b9f98acea9c9da49fa7355b0d16f5ff4433095e"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-11-21T14:43:56Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "1000",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "5044/tcp": {},
            "9600/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/share/logstash/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "ELASTIC_CONTAINER=true",
            "LANG=en_US.UTF-8",
            "LC_ALL=en_US.UTF-8"
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/usr/share/logstash",
        "Entrypoint": [
            "/usr/local/bin/docker-entrypoint"
        ],
        "OnBuild": null,
        "Labels": {
            "org.label-schema.build-date": "2024-11-19T01:53:47+00:00",
            "org.label-schema.license": "Elastic License",
            "org.label-schema.name": "logstash",
            "org.label-schema.schema-version": "1.0",
            "org.label-schema.url": "https://www.elastic.co/products/logstash",
            "org.label-schema.vcs-url": "https://github.com/elastic/logstash",
            "org.label-schema.vendor": "Elastic",
            "org.label-schema.version": "8.16.1",
            "org.opencontainers.image.created": "2024-11-19T01:53:47+00:00",
            "org.opencontainers.image.description": "Logstash is a free and open server-side data processing pipeline that ingests data from a multitude of sources, transforms it, and then sends it to your favorite 'stash.'",
            "org.opencontainers.image.licenses": "Elastic License",
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.title": "logstash",
            "org.opencontainers.image.vendor": "Elastic",
            "org.opencontainers.image.version": "8.16.1"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 881881152,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/2d34ec76e5e1738e2e44208039ba2da7ba9798b5f39f825ca07a67015516b103/diff:/var/lib/docker/overlay2/a928e88448eb44747c1c54fa924d3635a710bccac6333db585c88ab9da64cdf1/diff:/var/lib/docker/overlay2/ce7ad719d20f0da1928c8c6416177f740d8323db69a91efc1cc47930271c1218/diff:/var/lib/docker/overlay2/2349698970f0bf95e7325f2431c4cb9720d1e56f9dbc84b511ac433a87ff4632/diff:/var/lib/docker/overlay2/8702e2a8512d1b952852833222600be6561c71c7e0285a99f211619c53256489/diff:/var/lib/docker/overlay2/8ae9327d66e0a476bfec54f108f531f886d78cf5d5de0499072f3179c3f1c3ef/diff:/var/lib/docker/overlay2/9544f9e4adbe9234dfa051780687419c696af79b9d40949c4c40d24ec2f6215c/diff:/var/lib/docker/overlay2/fb8144fe90adf6290efea93bcfe9cec4f649d4e68881428237639d48b4f6a329/diff:/var/lib/docker/overlay2/18c5893e9770c2ded1f23550f69a870b0cf3bb56dfbc41a3c7cc49913af2aed2/diff:/var/lib/docker/overlay2/26d3629e1fe87e6a6de1f10e5d95a7d342138bafa813a46be36c65a9b09fe3ae/diff:/var/lib/docker/overlay2/4a1bf2641c7a294ce7df6f9ba9b0fb24d22607f6374845607e7613e665a47541/diff:/var/lib/docker/overlay2/364ee650fcb55abc90ea2c6b6b0e7b00ae28674a17a09f26a611d7681de96bc4/diff",
            "MergedDir": "/var/lib/docker/overlay2/6748cc06b3ea299158190fc5d9012304fe3eab9598485eed76d6a724e32a84af/merged",
            "UpperDir": "/var/lib/docker/overlay2/6748cc06b3ea299158190fc5d9012304fe3eab9598485eed76d6a724e32a84af/diff",
            "WorkDir": "/var/lib/docker/overlay2/6748cc06b3ea299158190fc5d9012304fe3eab9598485eed76d6a724e32a84af/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:fffe76c64ef2dee2d80a8bb3ad13d65d596d04a45510b1956a976a69215dae92",
            "sha256:6b3d5ac72cd40091852861427af11b5f154c36a95b1ecc72f1ce4f500a4ba4a2",
            "sha256:318f920681c0e8213f1ca42f5bc0c3737ef37ef2a6f80bdc2c1b26e0c6df16f7",
            "sha256:070fba1ffc12ea7403dfe1916de30a2667bc8c1b8a4d709d1d28a557d74f100e",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:cbc0d3d09daa750b58cf973304580a62c010de75af70563b14e1769c0186e377",
            "sha256:adff144869c8396527956222516d928044612f0a05270f0646082133090cd5f3",
            "sha256:99f8e804041f770879bf3fec679343bb81c6a11bca299eb19d117838b13e195a",
            "sha256:f209f95fee3d13334a80d1088778615ff95314994fa14cb850692b34d9ee7f9d",
            "sha256:69972e7d8ea0219d5c01292a415bf45b05e52496431bd81a2140039b5d65b7fd",
            "sha256:a75d7d517c2d4de87bd89199d97bd3c9939ad1ca22e8356cc8247bf69549635b",
            "sha256:493b743bc82a53a9d6cebe75adc2bbc6b34e728685a56e4138606945ee7a314c",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-05T17:30:31.571710934+08:00"
    }
}

更多版本

docker.io/logstash:8.15.3

linux/amd64 docker.io871.99MB2024-11-03 20:37
92

docker.io/logstash:8.16.1

linux/amd64 docker.io881.88MB2024-12-05 17:31
46

docker.io/logstash:7.6.1

linux/amd64 docker.io813.16MB2024-12-10 11:12
29