This commit is contained in:
parent
7cefee2c80
commit
dec6205e4f
|
@ -112,7 +112,7 @@ Download [HERE](http://pan.baidu.com/s/1dD3XwOT)!
|
|||
### Docker
|
||||
|
||||
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
|
||||
|
||||
|
|
|
@ -294,9 +294,8 @@ func Load(confPath, confIP, confPort, confServer, confChannel string, confDocker
|
|||
|
||||
glog.V(5).Infof("${ip} [%s]", ip)
|
||||
|
||||
// Docker
|
||||
if confDocker {
|
||||
confChannel = os.Getenv("channel") // overwrite channel specified
|
||||
// TODO: may be we need to do something here
|
||||
}
|
||||
|
||||
if "" != confIP {
|
||||
|
|
Loading…
Reference in New Issue