docker-monitoring/main.go
2023-04-05 15:59:51 +02:00

19 lines
275 B
Go

package main
import (
"context"
"fmt"
"git.faercol.me/monitoring/docker-monitoring/versions"
)
func main() {
clt := versions.New(context.Background())
containers, err := clt.GetRunningContainers()
if err != nil {
panic(err)
}
fmt.Printf("%#v\n", containers)
}