docker.io/library/emqx:5.8.4 linux/amd64

docker.io/library/emqx:5.8.4 - 国内下载镜像源 浏览次数:36 安全受验证的发布者-Docker

EMQX 镜像

这是一个基于 Docker 的 EMQX 镜像,EMQX 是一个开源的 MQTT 消息代理服务器,支持 MQTT 3.1.1 和 5.0 协议。该镜像包含了 EMQX 的所有必要组件,可以轻松地将其部署到 Docker 环境中。

使用该镜像可以快速搭建一个 MQTT 消息代理服务器,支持多种功能,例如:

  • 消息发布和订阅
  • 消息持久化
  • 用户认证和授权
  • 消息路由和桥接
  • 插件扩展

该镜像适用于各种场景,例如物联网、云计算、移动应用等。

源镜像 docker.io/library/emqx:5.8.4
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/emqx:5.8.4
镜像ID sha256:ffa3465475d11b3098d649755d821a3f1049c91528c7e19ffaa51f73f82bfc93
镜像TAG 5.8.4
大小 225.94MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /opt/emqx/bin/emqx foreground
启动入口 /usr/bin/docker-entrypoint.sh
工作目录 /opt/emqx
OS/平台 linux/amd64
浏览量 36 次
贡献者
镜像创建 2025-01-07T05:32:24Z
同步时间 2025-01-08 17:08
更新时间 2025-01-17 18:02
开放端口
18083/tcp 1883/tcp 4370/tcp 5369/tcp 8083/tcp 8084/tcp 8883/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin EMQX_VERSION=5.8.4 AMD64_SHA256=48776760e500e0e38b810c9c2e4156ec5022565f700bbea121695e76463ed042 ARM64_SHA256=dd45d06ee2f7f5ace05ec9ce53b2739b54dad2105cdfcadb6f7bb514724caf91 LC_ALL=C.UTF-8 LANG=C.UTF-8
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.8 扫描引擎: Trivy 扫描时间: 2025-01-08 17:10

低危漏洞:77 中危漏洞:19 高危漏洞:6 严重漏洞:1

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/emqx:5.8.4
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/emqx:5.8.4  docker.io/library/emqx:5.8.4

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/emqx:5.8.4
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/emqx:5.8.4  docker.io/library/emqx:5.8.4

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2025-01-07 13:32:24  0.00B 设置默认要执行的命令
CMD ["/opt/emqx/bin/emqx" "foreground"]
                        
# 2025-01-07 13:32:24  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"]
                        
# 2025-01-07 13:32:24  2.34KB 复制新文件或目录到容器中
COPY docker-entrypoint.sh /usr/bin/ # buildkit
                        
# 2025-01-07 13:32:24  0.00B 声明容器运行时监听的端口
EXPOSE map[18083/tcp:{} 1883/tcp:{} 4370/tcp:{} 5369/tcp:{} 8083/tcp:{} 8084/tcp:{} 8883/tcp:{}]
                        
# 2025-01-07 13:32:24  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/opt/emqx/log /opt/emqx/data]
                        
# 2025-01-07 13:32:24  0.00B 指定运行容器时使用的用户
USER emqx
                        
# 2025-01-07 13:32:24  0.00B 设置工作目录为/opt/emqx
WORKDIR /opt/emqx
                        
# 2025-01-07 13:32:24  151.12MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eu;     apt-get update;     apt-get install -y --no-install-recommends ca-certificates procps curl;     arch=$(dpkg --print-architecture);     if [ ${arch} = "amd64" ]; then sha256="$AMD64_SHA256"; fi;     if [ ${arch} = "arm64" ]; then sha256="$ARM64_SHA256"; fi;     . /etc/os-release;     pkg="emqx-${EMQX_VERSION}-${ID}${VERSION_ID}-${arch}.tar.gz";     curl -f -O -L https://www.emqx.com/en/downloads/broker/v${EMQX_VERSION}/${pkg};     echo "$sha256 *$pkg" | sha256sum -c;     mkdir /opt/emqx;     tar zxf $pkg -C /opt/emqx;     find /opt/emqx -name 'swagger*.js.map' -exec rm {} +;     ln -s /opt/emqx/bin/* /usr/local/bin/;     groupadd -r -g 1000 emqx;     useradd -r -m -u 1000 -g emqx emqx;     chown -R emqx:emqx /opt/emqx;     rm -f $pkg;     rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # buildkit
                        
# 2025-01-07 13:32:24  0.00B 设置环境变量 LC_ALL LANG
ENV LC_ALL=C.UTF-8 LANG=C.UTF-8
                        
# 2025-01-07 13:32:24  0.00B 设置环境变量 ARM64_SHA256
ENV ARM64_SHA256=dd45d06ee2f7f5ace05ec9ce53b2739b54dad2105cdfcadb6f7bb514724caf91
                        
# 2025-01-07 13:32:24  0.00B 设置环境变量 AMD64_SHA256
ENV AMD64_SHA256=48776760e500e0e38b810c9c2e4156ec5022565f700bbea121695e76463ed042
                        
# 2025-01-07 13:32:24  0.00B 设置环境变量 EMQX_VERSION
ENV EMQX_VERSION=5.8.4
                        
# 2024-12-23 08:00:00  74.82MB 
# debian.sh --arch 'amd64' out/ 'bookworm' '@1734912000'
                        
                    

镜像信息

{
    "Id": "sha256:ffa3465475d11b3098d649755d821a3f1049c91528c7e19ffaa51f73f82bfc93",
    "RepoTags": [
        "emqx:5.8.4",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/emqx:5.8.4"
    ],
    "RepoDigests": [
        "emqx@sha256:612712becf3cc151e37232cdc8250889f18a3311091934706fda863944f6a454",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/emqx@sha256:729cf0b05d5d7f97c325a6a0b8447acd0b1a0fb2dd6a5fb96e6147620179a7d3"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-01-07T05:32:24Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "emqx",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "18083/tcp": {},
            "1883/tcp": {},
            "4370/tcp": {},
            "5369/tcp": {},
            "8083/tcp": {},
            "8084/tcp": {},
            "8883/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "EMQX_VERSION=5.8.4",
            "AMD64_SHA256=48776760e500e0e38b810c9c2e4156ec5022565f700bbea121695e76463ed042",
            "ARM64_SHA256=dd45d06ee2f7f5ace05ec9ce53b2739b54dad2105cdfcadb6f7bb514724caf91",
            "LC_ALL=C.UTF-8",
            "LANG=C.UTF-8"
        ],
        "Cmd": [
            "/opt/emqx/bin/emqx",
            "foreground"
        ],
        "Image": "",
        "Volumes": {
            "/opt/emqx/data": {},
            "/opt/emqx/log": {}
        },
        "WorkingDir": "/opt/emqx",
        "Entrypoint": [
            "/usr/bin/docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 225939188,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/869a32bed797853caec939980f408498e87c2cfebeaa8a57c700f59a8ef35b1c/diff:/var/lib/docker/overlay2/cf218b3bebb3b3fe9f9712b81e0de09a24abaa6836be56216d7fdbce3613e256/diff:/var/lib/docker/overlay2/d7da656d9414ae961b292fa109d069e923b341eab550c2db09cb0ab256f4ae70/diff",
            "MergedDir": "/var/lib/docker/overlay2/9f3e31d982f9863c950e7f5c70f4aaaa2d87bdfedef1c89f62dff01dd69b3eb4/merged",
            "UpperDir": "/var/lib/docker/overlay2/9f3e31d982f9863c950e7f5c70f4aaaa2d87bdfedef1c89f62dff01dd69b3eb4/diff",
            "WorkDir": "/var/lib/docker/overlay2/9f3e31d982f9863c950e7f5c70f4aaaa2d87bdfedef1c89f62dff01dd69b3eb4/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:8b296f48696071aafb5a6286ca60d441a7e559b192fc7f94bb63ee93dae98f17",
            "sha256:ab22bc746f3fa00b430db5fe1bfd10fa3308d989f533387ac609a65b06a54cfd",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:bc011bfc9da9b488c6bc5bcf0dfae3e844cff9049dc93affe5b45d8d70068159"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-08T17:08:34.406780036+08:00"
    }
}

更多版本

docker.io/library/emqx:5

linux/amd64 docker.io234.38MB2024-10-30 17:58
217

docker.io/library/emqx:4.4

linux/amd64 docker.io182.32MB2024-12-02 14:52
55

docker.io/library/emqx:5.8.4

linux/amd64 docker.io225.94MB2025-01-08 17:08
35