mirror of
https://github.com/docker/compose.git
synced 2026-10-20 19:02:47 +00:00
on ACI container ID is project_service and name is service
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
1f5a77e67c
commit
446008a4b6
7 changed files with 38 additions and 156 deletions
|
|
@ -150,9 +150,10 @@ func (cs *aciComposeService) Ps(ctx context.Context, project string) ([]compose.
|
|||
Protocol: string(p.Protocol),
|
||||
})
|
||||
}
|
||||
id := getContainerID(group, container)
|
||||
res = append(res, compose.ContainerSummary{
|
||||
ID: *container.Name,
|
||||
Name: *container.Name,
|
||||
ID: id,
|
||||
Name: id,
|
||||
Project: project,
|
||||
Service: *container.Name,
|
||||
State: convert.GetStatus(container, group),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue