diff --git a/cmd/analyze.go b/cmd/analyze.go index ea13582..b6e0427 100644 --- a/cmd/analyze.go +++ b/cmd/analyze.go @@ -1356,6 +1356,7 @@ func (a *analyzeCommand) RunAnalysisOverrideProviderSettings(ctx context.Context container.WithStdout(analysisLog), container.WithStderr(analysisLog), container.WithEntrypointArgs(args...), + container.WithName(fmt.Sprintf("analyzer-%v", container.RandomName())), container.WithEntrypointBin("/usr/local/bin/konveyor-analyzer"), container.WithNetwork("host"), container.WithContainerToolBin(Settings.ContainerBinary), @@ -1477,6 +1478,7 @@ func (a *analyzeCommand) RunAnalysis(ctx context.Context, xmlOutputDir string, v container.WithVolumes(volumes), container.WithStdout(analysisLog), container.WithStderr(analysisLog), + container.WithName(fmt.Sprintf("analyzer-%v", container.RandomName())), container.WithEntrypointArgs(args...), container.WithEntrypointBin("/usr/local/bin/konveyor-analyzer"), container.WithNetwork(networkName), @@ -2077,6 +2079,7 @@ func (a *analyzeCommand) analyzeDotnetFramework(ctx context.Context) error { container.WithContainerToolBin(Settings.ContainerBinary), container.WithEntrypointArgs([]string{fmt.Sprintf("--port=%v", port)}...), container.WithDetachedMode(true), + container.WithName(fmt.Sprintf("provider-%v", container.RandomName())), container.WithCleanup(a.cleanup), container.WithNetwork(networkName), ) @@ -2200,6 +2203,7 @@ func (a *analyzeCommand) analyzeDotnetFramework(ctx context.Context) error { container.WithImage(Settings.RunnerImage), container.WithLog(a.log.V(1)), container.WithVolumes(volumes), + container.WithName(fmt.Sprintf("analyzer-%v", container.RandomName())), container.WithStdout(analysisLog), container.WithStderr(analysisLog), container.WithEntrypointArgs(args...),