拉取镜像
docker pull cao2068959/dubbo-admin:2.7
创建目录
mkdir dubbo-admin cd dubbo-admin/
编写properties文件
vi application.properties admin.registry.address=zookeeper://10.211.55.4:2181 admin.config-center=zookeeper://10.211.55.4:2181 admin.metadata-report.address=zookeeper://10.211.55.4:2181 admin.registry.group=dubbo admin.apollo.token=e16e5cd903fd0c97a116c873b448544b9d086de9 admin.apollo.appId=test admin.apollo.env=dev admin.apollo.cluster=default admin.apollo.namespace=dubbo
启动容器
docker run -d -p 8080:8080 -v /usr/local/dubbo-admin/application.properties:/dubbo-admin/application.properties cao2068959/dubbo-admin:2.7
查看是否启动成功
docker ps
访问dubbo-admin
http://10.211.55.4:8080
标签:55.4,dubbo,admin,zookeeper,docker,apollo From: https://www.cnblogs.com/cgy-home/p/16966127.html