Docker dubbo 服务注册
vim run.sh
#!/bin/bash
ip=`ifconfig eth0 |grep "inet"|awk '{print $2}'`
hn=dubbo-service-provider
docker run -d -it --name sku -p 8090:8080 -v /srv/logs/:/srv/logs/ -v /root/hosts:/etc/hosts --hostname $hn docker.qjdchina.com/qjd/sku:test-wxy-docker-9