Linux启动Zookeeper

安装Zookeeper

docker pull zookeeper

启动Zookeeper,默认会导出 2181 端口

 docker run --name my_zookeeper -d zookeeper:latest

查看运行情况

docker logs -f my_zookeeper

 

启动dubbo-admin

docker run -d \
-p 8086:8080 \
-e dubbo.registry.address=zookeeper://192.168.56.1:2181 \
-e dubbo.admin.root.password=root \
-e dubbo.admin.guest.password=guest \
chenchuxin/dubbo-admin 

 

上一篇:Elasticsearch:使用 JDBC client 连接到 Elasticsearch


下一篇:VS Code配置之选项卡多行显示