1 . 环境:
- cenos7(X86_64) + openssh
2 . 安装
- 配置镜像加速器, 尝试从
Docker Hub
下载, 速度太慢/etc/docker/daemon.json
{ "max-concurrent-downloads":1, "registry-mirrors": [ "https://hub-mirror.c.163.com", "https://mirror.baidubce.com" ] }
- 抓取
zookeeper
镜像docker pull zookeeper
- 抓取
dubbo-admin
镜像docker pull apache/dubbo-admin
- 启动
zookeeper
容器docker run --name zookeeper -p 2181:2181 -d zookeeper
- 启动
duboo-admin
容器docker run -d \ -p 8081:8080 \ -e dubbo.registry.address=zookeeper://192.168.37.201:2181 \ -e dubbo.admin.root.password=root \ -e dubbo.admin.guest.password=guest \ apache/dubbo-admin
- 验证
浏览器输入
http://192.168.37.201:8081/
参考及引用
http://blog.csdn.net/zxl8899/article/details/107413063
Photo by Steve Johnson from Pexels
Comments are closed.