diff --git a/pkg/compose/top.go b/pkg/compose/top.go index 1ac4cd4c4c..742a974bc5 100644 --- a/pkg/compose/top.go +++ b/pkg/compose/top.go @@ -45,7 +45,7 @@ func (s *composeService) Top(ctx context.Context, projectName string, services [ } summary[i] = api.ContainerProcSummary{ ID: container.ID, - Name: getCanonicalContainerName(container), + Name: getContainerNameWithoutProject(container), Processes: topContent.Processes, Titles: topContent.Titles, }