容器信息
| 35 | |
| 36 | // 容器信息 |
| 37 | type DockerComposeContainer struct { |
| 38 | ServiceName string |
| 39 | ContainerName string |
| 40 | //Command string |
| 41 | Image string |
| 42 | ImageID string |
| 43 | Ports []string |
| 44 | State string |
| 45 | } |
| 46 | |
| 47 | // 获取docker compose运行起来对应的容器 |
| 48 | func GetLocalContainersWithServices(ctx context.Context, cli *client.Client, |
nothing calls this directly
no outgoing calls
no test coverage detected