MCPcopy Create free account
hub / github.com/OpenAtomFoundation/SmartIDE / DockerComposeContainer

Struct DockerComposeContainer

cli/cmd/start/env.go:37–45  ·  view source on GitHub ↗

容器信息

Source from the content-addressed store, hash-verified

35
36// 容器信息
37type 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运行起来对应的容器
48func GetLocalContainersWithServices(ctx context.Context, cli *client.Client,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected