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:
@@ -27,6 +27,7 @@ type Instance struct {
|
||||
IsManager *bool `json:"is_manager"`
|
||||
Mem string `json:"mem"`
|
||||
Cpu string `json:"cpu"`
|
||||
Ports []uint16 `json:"ports"`
|
||||
}
|
||||
|
||||
func (i *Instance) IsConnected() bool {
|
||||
|
Reference in New Issue
Block a user