docker.io/eclipse-mosquitto:2.0.20 linux/arm64

docker.io/eclipse-mosquitto:2.0.20 - 国内下载镜像源 浏览次数:39 温馨提示: 这是一个 linux/arm64 系统架构镜像
好的!

eclipse-mosquitto

Mosquitto 是一个轻量级的 MQTT 协议服务器,主要用于物联网(IoT)和设备管理应用。它提供了高性能、低延迟和易于部署的特性,使其成为 IoT 应用的理想选择。

源镜像 docker.io/eclipse-mosquitto:2.0.20
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-mosquitto:2.0.20-linuxarm64
镜像ID sha256:4372cc18130828529587cde9f1b17628e192c805c0ab21210f19b5492642f9f7
镜像TAG 2.0.20-linuxarm64
大小 16.62MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /usr/sbin/mosquitto -c /mosquitto/config/mosquitto.conf
启动入口 /docker-entrypoint.sh
工作目录 /
OS/平台 linux/arm64
浏览量 39 次
贡献者
镜像创建 2024-10-16T19:28:05Z
同步时间 2024-12-11 16:06
更新时间 2024-12-26 03:58
开放端口
1883/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin VERSION=2.0.20 DOWNLOAD_SHA256=ebd07d89d2a446a7f74100ad51272e4a8bf300b61634a7812e19f068f2759de8 GPG_KEYS=A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7 LWS_VERSION=4.2.1 LWS_SHA256=842da21f73ccba2be59e680de10a8cce7928313048750eb6ad73b6fa50763c51
镜像标签
Eclipse Mosquitto MQTT Broker: description Roger Light <roger@atchoo.org>: maintainer
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.20.3 扫描引擎: Trivy 扫描时间: 2024-12-11 16:08

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

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-mosquitto:2.0.20-linuxarm64
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-mosquitto:2.0.20-linuxarm64  docker.io/eclipse-mosquitto:2.0.20

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-mosquitto:2.0.20-linuxarm64
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-mosquitto:2.0.20-linuxarm64  docker.io/eclipse-mosquitto:2.0.20

Shell快速替换命令

sed -i 's#eclipse-mosquitto:2.0.20#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-mosquitto:2.0.20-linuxarm64#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-mosquitto:2.0.20-linuxarm64 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-mosquitto:2.0.20-linuxarm64  docker.io/eclipse-mosquitto:2.0.20'

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-10-17 03:28:05  0.00B 设置默认要执行的命令
CMD ["/usr/sbin/mosquitto" "-c" "/mosquitto/config/mosquitto.conf"]
                        
# 2024-10-17 03:28:05  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/docker-entrypoint.sh"]
                        
# 2024-10-17 03:28:05  0.00B 声明容器运行时监听的端口
EXPOSE map[1883/tcp:{}]
                        
# 2024-10-17 03:28:05  318.00B 复制新文件或目录到容器中
COPY docker-entrypoint.sh mosquitto-no-auth.conf / # buildkit
                        
# 2024-10-17 03:28:05  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/mosquitto/data /mosquitto/log]
                        
# 2024-10-17 03:28:05  7.80MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -x &&     apk --no-cache add --virtual build-deps         build-base         cmake         cjson-dev         gnupg         linux-headers         openssl-dev         util-linux-dev &&     wget https://github.com/warmcat/libwebsockets/archive/v${LWS_VERSION}.tar.gz -O /tmp/lws.tar.gz &&     echo "$LWS_SHA256  /tmp/lws.tar.gz" | sha256sum -c - &&     mkdir -p /build/lws &&     tar --strip=1 -xf /tmp/lws.tar.gz -C /build/lws &&     rm /tmp/lws.tar.gz &&     cd /build/lws &&     cmake .         -DCMAKE_BUILD_TYPE=MinSizeRel         -DCMAKE_INSTALL_PREFIX=/usr         -DDISABLE_WERROR=ON         -DLWS_IPV6=ON         -DLWS_WITHOUT_BUILTIN_GETIFADDRS=ON         -DLWS_WITHOUT_CLIENT=ON         -DLWS_WITHOUT_EXTENSIONS=ON         -DLWS_WITHOUT_TESTAPPS=ON         -DLWS_WITH_EXTERNAL_POLL=ON         -DLWS_WITH_HTTP2=OFF         -DLWS_WITH_SHARED=OFF         -DLWS_WITH_ZIP_FOPS=OFF         -DLWS_WITH_ZLIB=OFF &&     make -j "$(nproc)" &&     rm -rf /root/.cmake &&     wget https://mosquitto.org/files/source/mosquitto-${VERSION}.tar.gz -O /tmp/mosq.tar.gz &&     echo "$DOWNLOAD_SHA256  /tmp/mosq.tar.gz" | sha256sum -c - &&     wget https://mosquitto.org/files/source/mosquitto-${VERSION}.tar.gz.asc -O /tmp/mosq.tar.gz.asc &&     export GNUPGHOME="$(mktemp -d)" &&     found='';     for server in         hkps://keys.openpgp.org         hkp://keyserver.ubuntu.com:80         pgp.mit.edu     ; do         echo "Fetching GPG key $GPG_KEYS from $server";         gpg --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$GPG_KEYS" && found=yes && break;     done;     test -z "$found" && echo >&2 "error: failed to fetch GPG key $GPG_KEYS" && exit 1;     gpg --batch --verify /tmp/mosq.tar.gz.asc /tmp/mosq.tar.gz &&     gpgconf --kill all &&     rm -rf "$GNUPGHOME" /tmp/mosq.tar.gz.asc &&     mkdir -p /build/mosq &&     tar --strip=1 -xf /tmp/mosq.tar.gz -C /build/mosq &&     rm /tmp/mosq.tar.gz &&     make -C /build/mosq -j "$(nproc)"         CFLAGS="-Wall -O2 -I/build/lws/include -I/build"         LDFLAGS="-L/build/lws/lib"         WITH_ADNS=no         WITH_DOCS=no         WITH_SHARED_LIBRARIES=yes         WITH_SRV=no         WITH_STRIP=yes         WITH_WEBSOCKETS=yes         prefix=/usr         binary &&     addgroup -S -g 1883 mosquitto 2>/dev/null &&     adduser -S -u 1883 -D -H -h /var/empty -s /sbin/nologin -G mosquitto -g mosquitto mosquitto 2>/dev/null &&     mkdir -p /mosquitto/config /mosquitto/data /mosquitto/log &&     install -d /usr/sbin/ &&     install -s -m755 /build/mosq/client/mosquitto_pub /usr/bin/mosquitto_pub &&     install -s -m755 /build/mosq/client/mosquitto_rr /usr/bin/mosquitto_rr &&     install -s -m755 /build/mosq/client/mosquitto_sub /usr/bin/mosquitto_sub &&     install -s -m644 /build/mosq/lib/libmosquitto.so.1 /usr/lib/libmosquitto.so.1 &&     install -s -m755 /build/mosq/src/mosquitto /usr/sbin/mosquitto &&     install -s -m755 /build/mosq/apps/mosquitto_ctrl/mosquitto_ctrl /usr/bin/mosquitto_ctrl &&     install -s -m755 /build/mosq/apps/mosquitto_passwd/mosquitto_passwd /usr/bin/mosquitto_passwd &&     install -s -m755 /build/mosq/plugins/dynamic-security/mosquitto_dynamic_security.so /usr/lib/mosquitto_dynamic_security.so &&     install -m644 /build/mosq/mosquitto.conf /mosquitto/config/mosquitto.conf &&     install -Dm644 /build/lws/LICENSE /usr/share/licenses/libwebsockets/LICENSE &&     install -Dm644 /build/mosq/epl-v20 /usr/share/licenses/mosquitto/epl-v20 &&     install -Dm644 /build/mosq/edl-v10 /usr/share/licenses/mosquitto/edl-v10 &&     chown -R mosquitto:mosquitto /mosquitto &&     apk --no-cache add         ca-certificates         cjson &&     apk del build-deps &&     rm -rf /build # buildkit
                        
# 2024-10-17 03:28:05  0.00B 设置环境变量 VERSION DOWNLOAD_SHA256 GPG_KEYS LWS_VERSION LWS_SHA256
ENV VERSION=2.0.20 DOWNLOAD_SHA256=ebd07d89d2a446a7f74100ad51272e4a8bf300b61634a7812e19f068f2759de8 GPG_KEYS=A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7 LWS_VERSION=4.2.1 LWS_SHA256=842da21f73ccba2be59e680de10a8cce7928313048750eb6ad73b6fa50763c51
                        
# 2024-10-17 03:28:05  0.00B 添加元数据标签
LABEL maintainer=Roger Light <roger@atchoo.org> description=Eclipse Mosquitto MQTT Broker
                        
# 2024-09-06 20:05:36  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2024-09-06 20:05:36  8.83MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.20.3-aarch64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:4372cc18130828529587cde9f1b17628e192c805c0ab21210f19b5492642f9f7",
    "RepoTags": [
        "eclipse-mosquitto:2.0.20",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-mosquitto:2.0.20-linuxarm64"
    ],
    "RepoDigests": [
        "eclipse-mosquitto@sha256:8b396cec28cd5e8e1a3aba1d9abdbddd42c454c80f703e77c1bec56e152fa54e",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/eclipse-mosquitto@sha256:4b4e6dabf6e6f8941bdb99119f5aa33d4f687722ae49eb4304e98ea23f60dcbb"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-16T19:28:05Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "1883/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "VERSION=2.0.20",
            "DOWNLOAD_SHA256=ebd07d89d2a446a7f74100ad51272e4a8bf300b61634a7812e19f068f2759de8",
            "GPG_KEYS=A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7",
            "LWS_VERSION=4.2.1",
            "LWS_SHA256=842da21f73ccba2be59e680de10a8cce7928313048750eb6ad73b6fa50763c51"
        ],
        "Cmd": [
            "/usr/sbin/mosquitto",
            "-c",
            "/mosquitto/config/mosquitto.conf"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/mosquitto/data": {},
            "/mosquitto/log": {}
        },
        "WorkingDir": "/",
        "Entrypoint": [
            "/docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "description": "Eclipse Mosquitto MQTT Broker",
            "maintainer": "Roger Light \u003croger@atchoo.org\u003e"
        }
    },
    "Architecture": "arm64",
    "Variant": "v8",
    "Os": "linux",
    "Size": 16623812,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/72cac188a03aa0454c84276ab0441517bbbabbdad7a424a5660eac36f8e9c927/diff:/var/lib/docker/overlay2/3a05abca9c107b869032bb266baddd218ecf380aba6745314a3182ae2ecfece7/diff",
            "MergedDir": "/var/lib/docker/overlay2/05272a7eb65fa426ec3766b953dc914bd6f81a826f87f1f561625af137b73fd8/merged",
            "UpperDir": "/var/lib/docker/overlay2/05272a7eb65fa426ec3766b953dc914bd6f81a826f87f1f561625af137b73fd8/diff",
            "WorkDir": "/var/lib/docker/overlay2/05272a7eb65fa426ec3766b953dc914bd6f81a826f87f1f561625af137b73fd8/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:651d9022c23486dfbd396c13db293af6845731cbd098a5f5606db4bc9f5573e8",
            "sha256:88e9cbd89e2d0691cf19f3f5d9576606a0482fdda7c735bdb41d53db6f18f775",
            "sha256:5f5948f21db6834a66826a4bac1445f95d9e3dd5e2d27cbf5e3559f8158db5eb"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-11T16:06:28.72106232+08:00"
    }
}

更多版本

docker.io/eclipse-mosquitto:1.6.15

linux/arm64 docker.io11.23MB2024-09-25 20:31
161

docker.io/eclipse-mosquitto:2.0.20

linux/arm64 docker.io16.62MB2024-12-11 16:06
38