This commit is contained in:
Liang Ding 2014-11-20 16:40:39 +08:00
parent 7cefee2c80
commit dec6205e4f
2 changed files with 2 additions and 3 deletions

View File

@ -112,7 +112,7 @@ Download [HERE](http://pan.baidu.com/s/1dD3XwOT)!
### Docker ### Docker
1. Get image: `sudo docker pull 88250/wide:latest` 1. Get image: `sudo docker pull 88250/wide:latest`
2. Run: `sudo docker run -p {port}:7070 -e channel=ws://{ip}:{port} 88250/wide:latest /root/wide/wide -docker=true` 2. Run: `sudo docker run -u wide -p {ip}:{port}:7070 88250/wide:latest ./wide -docker=true -channel=ws://{ip}:{port}`
## Known Issues ## Known Issues

View File

@ -294,9 +294,8 @@ func Load(confPath, confIP, confPort, confServer, confChannel string, confDocker
glog.V(5).Infof("${ip} [%s]", ip) glog.V(5).Infof("${ip} [%s]", ip)
// Docker
if confDocker { if confDocker {
confChannel = os.Getenv("channel") // overwrite channel specified // TODO: may be we need to do something here
} }
if "" != confIP { if "" != confIP {