Docker 安装 MQTT(EMQX)
[root@localhost ~]# docker pull emqx:4.4.16 4.4.16: Pulling from library/emqx 3f9582a2cbe7: Pull complete 396ee3d6a271: Pull complete f79aa88ad721: Pull complete 8943a0bcb1f0: Pull complete 66a2b18c61a7: Pull complete Digest: sha256:7d65f058645c9d9b9dbb9645333ebf720d06671ee752f530bb0f649e326f3785 Status: Downloaded newer image for emqx:4.4.16 docker.io/library/emqx:4.4.16 [root@localhost ~]# docker run -it --name emqx -p 18083:18083 -p 1883:1883 -p 8084:8084 -p 8883:8883 -p 8083:8083 -d emqx:4.4.16 –name 容器名字 -p 18083 服务器启动端口 -p 1883 TCP端口 -p 8083 WS端口 -p 8084 WSS端口 -p 8883 SSL端口 -d 后台启动标签:4.4,complete,Pull,16,端口,MQTT,emqx,EMQX,Docker From: https://www.cnblogs.com/liyanxi/p/17323026.html