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

posted on 2017-06-01 14:25  shenggen  阅读(323)  评论(0编辑  收藏  举报

导航