1
0
mirror of https://github.com/bingohuang/docker-labs.git synced 2025-10-05 18:03:21 +08:00

Query DinD instances for running containers and list the published ports

so the user can reverse proxy to the instance/port easily.
This commit is contained in:
Jonathan Leibiusky @xetorthio
2016-12-01 17:28:55 -03:00
parent afa47c0bfc
commit 77905f3fd8
7 changed files with 54 additions and 7 deletions

View File

@@ -7,5 +7,5 @@ type periodicTask interface {
var periodicTasks []periodicTask
func init() {
periodicTasks = append(periodicTasks, &collectStatsTask{}, &checkSwarmStatusTask{}, &broadcastInfoTask{})
periodicTasks = append(periodicTasks, &collectStatsTask{}, &checkSwarmStatusTask{}, &checkUsedPortsTask{}, &broadcastInfoTask{})
}