用docker 封装mosquitto并配置用户名和密码

先建立一个目录mosquittoweb 建立一个Dockerfile文件内容:docker FROM eclipse-mosquitto COPY ./pwfile /etc/mosquitto/pwfile RUN chmod 777 /etc/mosquitto/pwfile && mosquitto_passwd -U /etc/mosquitto/pwfilewebsocket // 建立
相关文章
相关标签/搜索