diff --git a/cli/config/compose/services/elastic-agent/centos/docker-compose.yml b/cli/config/compose/services/elastic-agent/centos/docker-compose.yml index 21bb17417c..e229ced5e1 100644 --- a/cli/config/compose/services/elastic-agent/centos/docker-compose.yml +++ b/cli/config/compose/services/elastic-agent/centos/docker-compose.yml @@ -2,7 +2,6 @@ version: '2.4' services: elastic-agent: image: docker.elastic.co/observability-ci/centos-systemd:latest - container_name: ${centos_systemdContainerName} entrypoint: "/usr/sbin/init" platform: ${stackPlatform:-linux/amd64} privileged: true diff --git a/cli/config/compose/services/elastic-agent/cloud/docker-compose.yml b/cli/config/compose/services/elastic-agent/cloud/docker-compose.yml index a1f62987ee..c5e36e85dc 100644 --- a/cli/config/compose/services/elastic-agent/cloud/docker-compose.yml +++ b/cli/config/compose/services/elastic-agent/cloud/docker-compose.yml @@ -2,7 +2,6 @@ version: '2.4' services: elastic-agent: image: docker.elastic.co/${elasticAgentDockerNamespace:-beats}/elastic-agent${elasticAgentDockerImageSuffix}:${elasticAgentTag:-8.0.0-SNAPSHOT} - container_name: ${elasticAgentContainerName} depends_on: elasticsearch: condition: service_healthy diff --git a/cli/config/compose/services/elastic-agent/debian/docker-compose.yml b/cli/config/compose/services/elastic-agent/debian/docker-compose.yml index 0aff8b7b27..7fce9ae5a9 100644 --- a/cli/config/compose/services/elastic-agent/debian/docker-compose.yml +++ b/cli/config/compose/services/elastic-agent/debian/docker-compose.yml @@ -2,7 +2,6 @@ version: '2.4' services: elastic-agent: image: docker.elastic.co/observability-ci/debian-systemd:latest - container_name: ${debian_systemdContainerName} entrypoint: "/sbin/init" platform: ${stackPlatform:-linux/amd64} privileged: true diff --git a/cli/config/compose/services/elastic-agent/docker-compose.yml b/cli/config/compose/services/elastic-agent/docker-compose.yml index a1ba9ef9e8..e353ca8dff 100644 --- a/cli/config/compose/services/elastic-agent/docker-compose.yml +++ b/cli/config/compose/services/elastic-agent/docker-compose.yml @@ -2,7 +2,6 @@ version: '2.4' services: elastic-agent: image: docker.elastic.co/${elasticAgentDockerNamespace:-beats}/elastic-agent${elasticAgentDockerImageSuffix}:${elasticAgentTag:-7.13.0-SNAPSHOT} - container_name: ${elasticAgentContainerName} depends_on: elasticsearch: condition: service_healthy diff --git a/e2e/_suites/fleet/stand-alone.go b/e2e/_suites/fleet/stand-alone.go index 565b47e4d0..1095b9b685 100644 --- a/e2e/_suites/fleet/stand-alone.go +++ b/e2e/_suites/fleet/stand-alone.go @@ -126,7 +126,6 @@ func (fts *FleetTestSuite) startStandAloneAgent(image string, flavour string, en containerName := fmt.Sprintf("%s_%s_%d", common.FleetProfileName, common.ElasticAgentServiceName, 1) - common.ProfileEnv["elasticAgentContainerName"] = containerName common.ProfileEnv["elasticAgentTag"] = dockerImageTag for k, v := range env {