DockerRunning returns true if docker-based AIStore cluster is detected
()
| 47 | |
| 48 | // DockerRunning returns true if docker-based AIStore cluster is detected |
| 49 | func IsRunning() bool { |
| 50 | return dockerRunning |
| 51 | } |
| 52 | |
| 53 | func clustersMap() (map[int]int, error) { |
| 54 | cmd := exec.Command("docker", "ps", "--format", "\"{{.Names}}\"") |
no outgoing calls