1、docker-compose.yml

version: '3'

services:
zookeeper:
image: zookeeper
ports:
- 2181:2181
admin:
image: chenchuxin/dubbo-admin
depends_on:
- zookeeper
ports:
- 8080:8080
environment:
- dubbo.registry.address=zookeeper://zookeeper:2181
- dubbo.config-center=zookeeper://zookeeper:2181
- dubbo.metadata-report.address=zookeeper://zookeeper:2181

2、运行

docker-compose up -d

3、登陆 ​​http://10.3.0.203:8080/​​ 账密 root/root

Docker-compose 安装 zookeeper dubbo-admin_zookeeper