nsq 启动镜像 $ docker-compose up -d 查看 nsqd 的容器 IP $ docker inspect nsq_nsqd_1 推送消息 $ curl -d 'hello world 1' 'http://{IP}:4151/pub?topic=test' 参考: nsq