You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2026/04/15 05:47:41 UTC

(skywalking) branch master updated: Bump infra-e2e to testcontainers-go v0.42.0 and remove deprecated compose version field (#13817)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git


The following commit(s) were added to refs/heads/master by this push:
     new 9e55f574bd Bump infra-e2e to testcontainers-go v0.42.0 and remove deprecated compose version field (#13817)
9e55f574bd is described below

commit 9e55f574bd11117fb9afe4c17f0f8acd0577424d
Author: 吴晟 Wu Sheng <wu...@foxmail.com>
AuthorDate: Wed Apr 15 13:47:34 2026 +0800

    Bump infra-e2e to testcontainers-go v0.42.0 and remove deprecated compose version field (#13817)
    
    **Changes:**
    - Bump `skywalking-infra-e2e` to `530f997` (merged apache/skywalking-infra-e2e#146), which migrates testcontainers-go from v0.11.1 to v0.42.0, using Docker Compose v2 plugin natively and removing docker-compose v1 dependency.
    - Remove deprecated `version` field from all docker-compose files (Compose v2 ignores it with a warning).
    
    **What the infra-e2e change does:**
    - Migrates testcontainers-go v0.11.1 → v0.42.0, using native `compose.NewDockerComposeWith` API
    - Deletes ~686 lines of custom `DockerContainer`/`DockerProvider` reimplementation
    - Removes docker-compose v1 binary installation from CI `action.yaml`
    - Adds TCP port waiting after `docker compose up -d` (matching old behavior)
    - Restores `DOCKER_API_VERSION` negotiation for Docker 29+ compatibility
    - User-facing contract (e2e.yaml format, env vars, log paths, CLI) is preserved
---
 .github/workflows/skywalking.yaml                              | 10 +++++-----
 docker/docker-compose.yml                                      |  1 -
 docs/en/changes/changes.md                                     |  3 ++-
 test/e2e-v2/cases/activemq/docker-compose.yml                  |  2 --
 test/e2e-v2/cases/alarm/banyandb/docker-compose.yml            |  2 --
 test/e2e-v2/cases/alarm/es/docker-compose.yml                  |  2 --
 test/e2e-v2/cases/alarm/es/es-sharding/docker-compose.yml      |  2 --
 test/e2e-v2/cases/alarm/mysql/docker-compose.yml               |  2 --
 test/e2e-v2/cases/alarm/postgres/docker-compose.yml            |  2 --
 test/e2e-v2/cases/apisix/otel-collector/docker-compose.yml     |  2 --
 test/e2e-v2/cases/aws/api-gateway/docker-compose.yml           |  2 --
 test/e2e-v2/cases/aws/dynamodb/docker-compose.yml              |  2 --
 test/e2e-v2/cases/aws/eks/docker-compose.yml                   |  2 --
 test/e2e-v2/cases/aws/s3/docker-compose.yml                    |  2 --
 test/e2e-v2/cases/banyandb/docker-compose.yml                  |  4 ----
 test/e2e-v2/cases/baseline/banyandb/docker-compose.yml         |  2 --
 test/e2e-v2/cases/baseline/es/docker-compose.yml               |  2 --
 test/e2e-v2/cases/baseline/es/es-sharding/docker-compose.yml   |  2 --
 test/e2e-v2/cases/browser/docker-compose.yml                   |  2 --
 test/e2e-v2/cases/browser/es/docker-compose.yml                |  2 --
 test/e2e-v2/cases/browser/es/es-sharding/docker-compose.yml    |  2 --
 .../clickhouse-prometheus-endpoint/docker-compose.yml          |  2 --
 test/e2e-v2/cases/cluster/zk/banyandb/docker-compose.yml       |  2 --
 test/e2e-v2/cases/cluster/zk/es/docker-compose.yml             |  2 --
 test/e2e-v2/cases/elasticsearch/docker-compose.yml             |  2 --
 test/e2e-v2/cases/event/banyandb/docker-compose.yml            |  2 --
 test/e2e-v2/cases/event/es/docker-compose.yml                  |  2 --
 test/e2e-v2/cases/event/mysql/docker-compose.yml               |  2 --
 test/e2e-v2/cases/exporter/kafka/docker-compose.yml            |  2 --
 test/e2e-v2/cases/flink/docker-compose.yml                     |  2 --
 test/e2e-v2/cases/gateway/docker-compose.yml                   |  2 --
 test/e2e-v2/cases/go/docker-compose.yml                        |  2 --
 test/e2e-v2/cases/kafka/kafka-monitoring/docker-compose.yml    |  2 --
 test/e2e-v2/cases/kafka/log/docker-compose.yml                 |  2 --
 test/e2e-v2/cases/kafka/meter/docker-compose.yml               |  2 --
 test/e2e-v2/cases/kafka/profile/docker-compose.yml             |  2 --
 test/e2e-v2/cases/kafka/simple-so11y/docker-compose.yml        |  2 --
 test/e2e-v2/cases/kong/docker-compose.yml                      |  2 --
 test/e2e-v2/cases/log/banyandb/docker-compose.yml              |  2 --
 test/e2e-v2/cases/log/es/docker-compose.yml                    |  2 --
 test/e2e-v2/cases/log/es/es-sharding/docker-compose.yml        |  2 --
 test/e2e-v2/cases/log/fluent-bit/docker-compose.yml            |  2 --
 test/e2e-v2/cases/log/log-base-compose.yml                     |  2 --
 test/e2e-v2/cases/log/mysql/docker-compose.yml                 |  2 --
 test/e2e-v2/cases/log/postgres/docker-compose.yml              |  2 --
 test/e2e-v2/cases/logql/docker-compose.yml                     |  2 --
 test/e2e-v2/cases/lua/docker-compose.yml                       |  2 --
 test/e2e-v2/cases/mariadb/mariadb-slowsql/docker-compose.yaml  |  2 --
 test/e2e-v2/cases/menu/banyandb/docker-compose.yml             |  2 --
 test/e2e-v2/cases/menu/es/docker-compose.yml                   |  2 --
 test/e2e-v2/cases/menu/es/es-sharding/docker-compose.yml       |  2 --
 test/e2e-v2/cases/menu/mysql/docker-compose.yml                |  2 --
 test/e2e-v2/cases/menu/opensearch/docker-compose.yml           |  2 --
 test/e2e-v2/cases/menu/postgres/docker-compose.yml             |  2 --
 test/e2e-v2/cases/meter/docker-compose.yml                     |  2 --
 test/e2e-v2/cases/mongodb/docker-compose.yml                   |  2 --
 test/e2e-v2/cases/mqe/docker-compose.yml                       |  2 --
 test/e2e-v2/cases/mysql/mysql-slowsql/docker-compose.yaml      |  2 --
 test/e2e-v2/cases/nginx/docker-compose.yml                     |  2 --
 test/e2e-v2/cases/nodejs/docker-compose.yml                    |  2 --
 test/e2e-v2/cases/otlp-traces/docker-compose.yml               |  1 -
 test/e2e-v2/cases/otlp-virtual-genai/docker-compose.yml        |  2 --
 test/e2e-v2/cases/php/docker-compose.yml                       |  2 --
 .../cases/postgresql/postgres-exporter/docker-compose.yml      |  2 --
 .../cases/profiling/async-profiler/banyandb/docker-compose.yml |  2 --
 .../cases/profiling/async-profiler/es/docker-compose.yml       |  2 --
 .../cases/profiling/async-profiler/mysql/docker-compose.yml    |  2 --
 test/e2e-v2/cases/profiling/pprof/banyandb/docker-compose.yml  |  2 --
 test/e2e-v2/cases/profiling/pprof/es/docker-compose.yml        |  2 --
 test/e2e-v2/cases/profiling/pprof/mysql/docker-compose.yml     |  2 --
 test/e2e-v2/cases/profiling/trace/banyandb/docker-compose.yml  |  2 --
 test/e2e-v2/cases/profiling/trace/es/docker-compose.yml        |  2 --
 .../cases/profiling/trace/es/es-sharding/docker-compose.yml    |  2 --
 test/e2e-v2/cases/profiling/trace/go/docker-compose.yml        |  2 --
 test/e2e-v2/cases/profiling/trace/mysql/docker-compose.yml     |  2 --
 .../e2e-v2/cases/profiling/trace/opensearch/docker-compose.yml |  2 --
 test/e2e-v2/cases/profiling/trace/postgres/docker-compose.yml  |  2 --
 test/e2e-v2/cases/promql/docker-compose.yml                    |  4 ----
 test/e2e-v2/cases/pulsar/docker-compose.yml                    |  2 --
 test/e2e-v2/cases/python/docker-compose.yml                    |  4 ----
 test/e2e-v2/cases/rabbitmq/docker-compose.yml                  |  2 --
 test/e2e-v2/cases/redis/redis-exporter/docker-compose.yml      |  2 --
 test/e2e-v2/cases/rocketmq/docker-compose.yml                  |  2 --
 .../e2e-v2/cases/satellite/native-protocols/docker-compose.yml |  2 --
 test/e2e-v2/cases/simple/auth/docker-compose.yml               |  2 --
 test/e2e-v2/cases/simple/jdk/docker-compose.yml                |  2 --
 test/e2e-v2/cases/simple/mtls/docker-compose.yml               |  2 --
 test/e2e-v2/cases/simple/ssl/docker-compose.yml                |  2 --
 test/e2e-v2/cases/so11y/docker-compose.yml                     |  2 --
 .../cases/storage/banyandb/data-generate/docker-compose.yml    |  2 --
 test/e2e-v2/cases/storage/banyandb/docker-compose.yml          |  2 --
 test/e2e-v2/cases/storage/banyandb/stages/docker-compose.yml   |  3 ---
 test/e2e-v2/cases/storage/banyandb/tls/docker-compose.yml      |  2 --
 test/e2e-v2/cases/storage/es/docker-compose.yml                |  2 --
 test/e2e-v2/cases/storage/es/es-sharding/docker-compose.yml    |  2 --
 test/e2e-v2/cases/storage/mysql/docker-compose.yml             |  2 --
 test/e2e-v2/cases/storage/opensearch/docker-compose.yml        |  1 -
 test/e2e-v2/cases/storage/postgres/docker-compose.yml          |  2 --
 test/e2e-v2/cases/traceql/skywalking/docker-compose.yml        |  2 --
 test/e2e-v2/cases/traceql/zipkin/docker-compose.yml            |  3 ---
 test/e2e-v2/cases/ttl/es/docker-compose.yml                    |  2 --
 test/e2e-v2/cases/virtual-genai/docker-compose.yml             |  2 --
 test/e2e-v2/cases/virtual-mq/docker-compose.yml                |  2 --
 .../cases/vm/prometheus-node-exporter/docker-compose.yml       |  2 --
 test/e2e-v2/cases/vm/telegraf/docker-compose.yml               |  2 --
 test/e2e-v2/cases/vm/zabbix/docker-compose.yml                 |  2 --
 test/e2e-v2/cases/win/docker-compose.yml                       |  2 --
 test/e2e-v2/cases/zipkin-virtual-genai/docker-compose.yml      |  2 --
 test/e2e-v2/cases/zipkin/banyandb/docker-compose.yml           |  2 --
 test/e2e-v2/cases/zipkin/docker-compose-brave.yml              |  2 --
 test/e2e-v2/cases/zipkin/es/docker-compose.yml                 |  2 --
 test/e2e-v2/cases/zipkin/es/es-sharding/docker-compose.yml     |  2 --
 test/e2e-v2/cases/zipkin/kafka/docker-compose.yml              |  2 --
 test/e2e-v2/cases/zipkin/mysql/docker-compose.yml              |  2 --
 test/e2e-v2/cases/zipkin/opensearch/docker-compose.yml         |  2 --
 test/e2e-v2/cases/zipkin/postgres/docker-compose.yml           |  2 --
 test/e2e-v2/script/docker-compose/base-compose.yml             |  2 --
 117 files changed, 7 insertions(+), 241 deletions(-)

diff --git a/.github/workflows/skywalking.yaml b/.github/workflows/skywalking.yaml
index 46cd288deb..7e5cc26a8a 100644
--- a/.github/workflows/skywalking.yaml
+++ b/.github/workflows/skywalking.yaml
@@ -769,7 +769,7 @@ jobs:
         if: matrix.test.docker != null
         run: docker build -t ${{ matrix.test.docker.name }} -f ${{ matrix.test.docker.base }}/${{ matrix.test.docker.file }} ${{ matrix.test.docker.base }}
       - name: ${{ matrix.test.name }}
-        uses: apache/skywalking-infra-e2e@ef073adb8b9e148e4eaf3f905fa4e238ee5cc7d6
+        uses: apache/skywalking-infra-e2e@530f9976e4bf12b65a6604ea0efbeafabeeea2a3
         with:
           e2e-file: $GITHUB_WORKSPACE/${{ matrix.test.config }}
       - if: ${{ failure() }}
@@ -843,7 +843,7 @@ jobs:
           username: ${{ github.repository_owner }}
           password: ${{ secrets.GITHUB_TOKEN }}
       - name: ALS ${{ matrix.storage }}, ${{ matrix.analyzer }}, istio-${{ matrix.versions.istio }}, k8s-${{ matrix.versions.kubernetes }}
-        uses: apache/skywalking-infra-e2e@ef073adb8b9e148e4eaf3f905fa4e238ee5cc7d6
+        uses: apache/skywalking-infra-e2e@530f9976e4bf12b65a6604ea0efbeafabeeea2a3
         env:
           ISTIO_VERSION: ${{ matrix.versions.istio }}
           KUBERNETES_VERSION: ${{ matrix.versions.kubernetes }}
@@ -915,7 +915,7 @@ jobs:
           username: ${{ github.repository_owner }}
           password: ${{ secrets.GITHUB_TOKEN }}
       - name: ${{ matrix.test.name }}
-        uses: apache/skywalking-infra-e2e@ef073adb8b9e148e4eaf3f905fa4e238ee5cc7d6
+        uses: apache/skywalking-infra-e2e@530f9976e4bf12b65a6604ea0efbeafabeeea2a3
         env:
           ISTIO_VERSION: ${{ matrix.versions.istio }}
           KUBERNETES_VERSION: ${{ matrix.versions.kubernetes }}
@@ -979,7 +979,7 @@ jobs:
         shell: bash
         run: ./mvnw -B -q -f test/e2e-v2/java-test-service/pom.xml clean package
       - name: Java version ${{ matrix.java-version }}
-        uses: apache/skywalking-infra-e2e@ef073adb8b9e148e4eaf3f905fa4e238ee5cc7d6
+        uses: apache/skywalking-infra-e2e@530f9976e4bf12b65a6604ea0efbeafabeeea2a3
         env:
           SW_AGENT_JDK_VERSION: ${{ matrix.java-version }}
         with:
@@ -1075,7 +1075,7 @@ jobs:
           fi
           docker compose -f ${BANYANDB_DATA_GENERATE_ROOT}/docker-compose.yml down -v
       - name: ${{ matrix.test.name }}
-        uses: apache/skywalking-infra-e2e@ef073adb8b9e148e4eaf3f905fa4e238ee5cc7d6
+        uses: apache/skywalking-infra-e2e@530f9976e4bf12b65a6604ea0efbeafabeeea2a3
         with:
           e2e-file: $GITHUB_WORKSPACE/${{ matrix.test.config }}
       - if: ${{ failure() }}
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index 7f6e56474d..b100ed7d67 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -14,7 +14,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '3.8'
 services:
   elasticsearch:
     profiles:
diff --git a/docs/en/changes/changes.md b/docs/en/changes/changes.md
index 375ef49e9d..bfa0c816e6 100644
--- a/docs/en/changes/changes.md
+++ b/docs/en/changes/changes.md
@@ -1,6 +1,8 @@
 ## 10.5.0
 
 #### Project
+* Bump infra-e2e to testcontainers-go v0.42.0 (apache/skywalking-infra-e2e#146), which uses Docker Compose v2 plugin natively and removes docker-compose v1 dependency.
+* Remove deprecated `version` field from all docker-compose files for Compose v2 compatibility.
 
 #### OAP Server
 * Add Zipkin Virtual GenAI e2e test. Use `zipkin_json` exporter to avoid protobuf dependency conflict
@@ -28,6 +30,5 @@
 
 #### Documentation
 
-
 All issues and pull requests are [here](https://github.com/apache/skywalking/issues?q=milestone:10.5.0)
 
diff --git a/test/e2e-v2/cases/activemq/docker-compose.yml b/test/e2e-v2/cases/activemq/docker-compose.yml
index 2b58f5eff5..8aac1bcf52 100644
--- a/test/e2e-v2/cases/activemq/docker-compose.yml
+++ b/test/e2e-v2/cases/activemq/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: "2.1"
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/alarm/banyandb/docker-compose.yml b/test/e2e-v2/cases/alarm/banyandb/docker-compose.yml
index a08b02cad0..f138e44204 100644
--- a/test/e2e-v2/cases/alarm/banyandb/docker-compose.yml
+++ b/test/e2e-v2/cases/alarm/banyandb/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   banyandb:
     extends:
diff --git a/test/e2e-v2/cases/alarm/es/docker-compose.yml b/test/e2e-v2/cases/alarm/es/docker-compose.yml
index fd9ed27296..2a4ce7e501 100644
--- a/test/e2e-v2/cases/alarm/es/docker-compose.yml
+++ b/test/e2e-v2/cases/alarm/es/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   es:
     image: elastic/elasticsearch:8.18.8
diff --git a/test/e2e-v2/cases/alarm/es/es-sharding/docker-compose.yml b/test/e2e-v2/cases/alarm/es/es-sharding/docker-compose.yml
index aa79e2efd4..53b4ce440e 100644
--- a/test/e2e-v2/cases/alarm/es/es-sharding/docker-compose.yml
+++ b/test/e2e-v2/cases/alarm/es/es-sharding/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   es:
     image: elastic/elasticsearch:8.18.8
diff --git a/test/e2e-v2/cases/alarm/mysql/docker-compose.yml b/test/e2e-v2/cases/alarm/mysql/docker-compose.yml
index 340dac7dff..ac58312d09 100644
--- a/test/e2e-v2/cases/alarm/mysql/docker-compose.yml
+++ b/test/e2e-v2/cases/alarm/mysql/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   mysql:
     image: mysql/mysql-server:8.0.13
diff --git a/test/e2e-v2/cases/alarm/postgres/docker-compose.yml b/test/e2e-v2/cases/alarm/postgres/docker-compose.yml
index 11c5f30cc1..f8c076c70d 100644
--- a/test/e2e-v2/cases/alarm/postgres/docker-compose.yml
+++ b/test/e2e-v2/cases/alarm/postgres/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   postgres:
     image: postgres:13
diff --git a/test/e2e-v2/cases/apisix/otel-collector/docker-compose.yml b/test/e2e-v2/cases/apisix/otel-collector/docker-compose.yml
index cb717c2f94..22ed38123f 100644
--- a/test/e2e-v2/cases/apisix/otel-collector/docker-compose.yml
+++ b/test/e2e-v2/cases/apisix/otel-collector/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/aws/api-gateway/docker-compose.yml b/test/e2e-v2/cases/aws/api-gateway/docker-compose.yml
index 77a0f9efde..c22df968a8 100644
--- a/test/e2e-v2/cases/aws/api-gateway/docker-compose.yml
+++ b/test/e2e-v2/cases/aws/api-gateway/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/aws/dynamodb/docker-compose.yml b/test/e2e-v2/cases/aws/dynamodb/docker-compose.yml
index 5dc01ea689..198351c847 100644
--- a/test/e2e-v2/cases/aws/dynamodb/docker-compose.yml
+++ b/test/e2e-v2/cases/aws/dynamodb/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/aws/eks/docker-compose.yml b/test/e2e-v2/cases/aws/eks/docker-compose.yml
index 77a0f9efde..c22df968a8 100644
--- a/test/e2e-v2/cases/aws/eks/docker-compose.yml
+++ b/test/e2e-v2/cases/aws/eks/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/aws/s3/docker-compose.yml b/test/e2e-v2/cases/aws/s3/docker-compose.yml
index 77a0f9efde..c22df968a8 100644
--- a/test/e2e-v2/cases/aws/s3/docker-compose.yml
+++ b/test/e2e-v2/cases/aws/s3/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/banyandb/docker-compose.yml b/test/e2e-v2/cases/banyandb/docker-compose.yml
index c95c595a75..2b0d618a81 100644
--- a/test/e2e-v2/cases/banyandb/docker-compose.yml
+++ b/test/e2e-v2/cases/banyandb/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
@@ -47,5 +45,3 @@ services:
 
 networks:
   e2e:
-
-
diff --git a/test/e2e-v2/cases/baseline/banyandb/docker-compose.yml b/test/e2e-v2/cases/baseline/banyandb/docker-compose.yml
index 719c046ecc..8570f93ca9 100644
--- a/test/e2e-v2/cases/baseline/banyandb/docker-compose.yml
+++ b/test/e2e-v2/cases/baseline/banyandb/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   banyandb:
     extends:
diff --git a/test/e2e-v2/cases/baseline/es/docker-compose.yml b/test/e2e-v2/cases/baseline/es/docker-compose.yml
index f4dcf95378..8e48eebb81 100644
--- a/test/e2e-v2/cases/baseline/es/docker-compose.yml
+++ b/test/e2e-v2/cases/baseline/es/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   es:
     image: elastic/elasticsearch:8.18.8
diff --git a/test/e2e-v2/cases/baseline/es/es-sharding/docker-compose.yml b/test/e2e-v2/cases/baseline/es/es-sharding/docker-compose.yml
index e247fbe481..001e809738 100644
--- a/test/e2e-v2/cases/baseline/es/es-sharding/docker-compose.yml
+++ b/test/e2e-v2/cases/baseline/es/es-sharding/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   es:
     image: elastic/elasticsearch:8.18.8
diff --git a/test/e2e-v2/cases/browser/docker-compose.yml b/test/e2e-v2/cases/browser/docker-compose.yml
index b9bbecf655..8e37bc6278 100644
--- a/test/e2e-v2/cases/browser/docker-compose.yml
+++ b/test/e2e-v2/cases/browser/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/browser/es/docker-compose.yml b/test/e2e-v2/cases/browser/es/docker-compose.yml
index 0c009a2e83..66667af3ab 100644
--- a/test/e2e-v2/cases/browser/es/docker-compose.yml
+++ b/test/e2e-v2/cases/browser/es/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   es:
     image: elastic/elasticsearch:8.18.8
diff --git a/test/e2e-v2/cases/browser/es/es-sharding/docker-compose.yml b/test/e2e-v2/cases/browser/es/es-sharding/docker-compose.yml
index 45198e2c42..c7554d6105 100644
--- a/test/e2e-v2/cases/browser/es/es-sharding/docker-compose.yml
+++ b/test/e2e-v2/cases/browser/es/es-sharding/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   es:
     image: elastic/elasticsearch:8.18.8
diff --git a/test/e2e-v2/cases/clickhouse/clickhouse-prometheus-endpoint/docker-compose.yml b/test/e2e-v2/cases/clickhouse/clickhouse-prometheus-endpoint/docker-compose.yml
index cc2227cdbc..1be11455e7 100644
--- a/test/e2e-v2/cases/clickhouse/clickhouse-prometheus-endpoint/docker-compose.yml
+++ b/test/e2e-v2/cases/clickhouse/clickhouse-prometheus-endpoint/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/cluster/zk/banyandb/docker-compose.yml b/test/e2e-v2/cases/cluster/zk/banyandb/docker-compose.yml
index b17906e41a..41ec8fc86f 100644
--- a/test/e2e-v2/cases/cluster/zk/banyandb/docker-compose.yml
+++ b/test/e2e-v2/cases/cluster/zk/banyandb/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   zk:
     image: zookeeper:3.5
diff --git a/test/e2e-v2/cases/cluster/zk/es/docker-compose.yml b/test/e2e-v2/cases/cluster/zk/es/docker-compose.yml
index 8c62c28a1d..16e56c46a6 100644
--- a/test/e2e-v2/cases/cluster/zk/es/docker-compose.yml
+++ b/test/e2e-v2/cases/cluster/zk/es/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   zk:
     image: zookeeper:3.5
diff --git a/test/e2e-v2/cases/elasticsearch/docker-compose.yml b/test/e2e-v2/cases/elasticsearch/docker-compose.yml
index 8204988592..5dd44be0e3 100644
--- a/test/e2e-v2/cases/elasticsearch/docker-compose.yml
+++ b/test/e2e-v2/cases/elasticsearch/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/event/banyandb/docker-compose.yml b/test/e2e-v2/cases/event/banyandb/docker-compose.yml
index 551c4063b7..aa3bb42122 100644
--- a/test/e2e-v2/cases/event/banyandb/docker-compose.yml
+++ b/test/e2e-v2/cases/event/banyandb/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '3.8'
-
 services:
   banyandb:
     extends:
diff --git a/test/e2e-v2/cases/event/es/docker-compose.yml b/test/e2e-v2/cases/event/es/docker-compose.yml
index 0cc10dfb66..fe50624461 100644
--- a/test/e2e-v2/cases/event/es/docker-compose.yml
+++ b/test/e2e-v2/cases/event/es/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '3.8'
-
 services:
   es:
     image: elastic/elasticsearch:8.18.8
diff --git a/test/e2e-v2/cases/event/mysql/docker-compose.yml b/test/e2e-v2/cases/event/mysql/docker-compose.yml
index c514c451ce..de8d36b101 100644
--- a/test/e2e-v2/cases/event/mysql/docker-compose.yml
+++ b/test/e2e-v2/cases/event/mysql/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '3.8'
-
 services:
   mysql:
     image: mysql/mysql-server:8.0.13
diff --git a/test/e2e-v2/cases/exporter/kafka/docker-compose.yml b/test/e2e-v2/cases/exporter/kafka/docker-compose.yml
index 44b4afc2db..97ea1a99e1 100644
--- a/test/e2e-v2/cases/exporter/kafka/docker-compose.yml
+++ b/test/e2e-v2/cases/exporter/kafka/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   zookeeper:
     image: zookeeper:3.4
diff --git a/test/e2e-v2/cases/flink/docker-compose.yml b/test/e2e-v2/cases/flink/docker-compose.yml
index 7a8f1b102a..922e04f4fa 100644
--- a/test/e2e-v2/cases/flink/docker-compose.yml
+++ b/test/e2e-v2/cases/flink/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: "3"
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/gateway/docker-compose.yml b/test/e2e-v2/cases/gateway/docker-compose.yml
index 0ebaf48123..5fe602ebab 100644
--- a/test/e2e-v2/cases/gateway/docker-compose.yml
+++ b/test/e2e-v2/cases/gateway/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   zk:
     image: zookeeper:3.5
diff --git a/test/e2e-v2/cases/go/docker-compose.yml b/test/e2e-v2/cases/go/docker-compose.yml
index 8dc12b6760..c1673c6b8c 100644
--- a/test/e2e-v2/cases/go/docker-compose.yml
+++ b/test/e2e-v2/cases/go/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/kafka/kafka-monitoring/docker-compose.yml b/test/e2e-v2/cases/kafka/kafka-monitoring/docker-compose.yml
index f39f72a8d0..afc4a01826 100644
--- a/test/e2e-v2/cases/kafka/kafka-monitoring/docker-compose.yml
+++ b/test/e2e-v2/cases/kafka/kafka-monitoring/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '3'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/kafka/log/docker-compose.yml b/test/e2e-v2/cases/kafka/log/docker-compose.yml
index 814f8a53d2..c61f72674b 100644
--- a/test/e2e-v2/cases/kafka/log/docker-compose.yml
+++ b/test/e2e-v2/cases/kafka/log/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   zookeeper:
     image: zookeeper:3.4
diff --git a/test/e2e-v2/cases/kafka/meter/docker-compose.yml b/test/e2e-v2/cases/kafka/meter/docker-compose.yml
index 49245d70c5..e82f952957 100644
--- a/test/e2e-v2/cases/kafka/meter/docker-compose.yml
+++ b/test/e2e-v2/cases/kafka/meter/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   zookeeper:
     image: zookeeper:3.4
diff --git a/test/e2e-v2/cases/kafka/profile/docker-compose.yml b/test/e2e-v2/cases/kafka/profile/docker-compose.yml
index c2bb171bc4..f6459facb9 100644
--- a/test/e2e-v2/cases/kafka/profile/docker-compose.yml
+++ b/test/e2e-v2/cases/kafka/profile/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   zookeeper:
     image: zookeeper:3.4
diff --git a/test/e2e-v2/cases/kafka/simple-so11y/docker-compose.yml b/test/e2e-v2/cases/kafka/simple-so11y/docker-compose.yml
index fe59b642f2..f3abfbec93 100644
--- a/test/e2e-v2/cases/kafka/simple-so11y/docker-compose.yml
+++ b/test/e2e-v2/cases/kafka/simple-so11y/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   zookeeper:
     image: zookeeper:3.4
diff --git a/test/e2e-v2/cases/kong/docker-compose.yml b/test/e2e-v2/cases/kong/docker-compose.yml
index b69c312b44..c626c461da 100644
--- a/test/e2e-v2/cases/kong/docker-compose.yml
+++ b/test/e2e-v2/cases/kong/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/log/banyandb/docker-compose.yml b/test/e2e-v2/cases/log/banyandb/docker-compose.yml
index d3a0dad769..ac9818f0e3 100644
--- a/test/e2e-v2/cases/log/banyandb/docker-compose.yml
+++ b/test/e2e-v2/cases/log/banyandb/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   banyandb:
     extends:
diff --git a/test/e2e-v2/cases/log/es/docker-compose.yml b/test/e2e-v2/cases/log/es/docker-compose.yml
index f7bfbfd9ea..801ee6ac3f 100644
--- a/test/e2e-v2/cases/log/es/docker-compose.yml
+++ b/test/e2e-v2/cases/log/es/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   es:
     image: elastic/elasticsearch:${ES_VERSION}
diff --git a/test/e2e-v2/cases/log/es/es-sharding/docker-compose.yml b/test/e2e-v2/cases/log/es/es-sharding/docker-compose.yml
index 0925a209de..aedc13ce4d 100644
--- a/test/e2e-v2/cases/log/es/es-sharding/docker-compose.yml
+++ b/test/e2e-v2/cases/log/es/es-sharding/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   es:
     image: elastic/elasticsearch:${ES_VERSION}
diff --git a/test/e2e-v2/cases/log/fluent-bit/docker-compose.yml b/test/e2e-v2/cases/log/fluent-bit/docker-compose.yml
index 448b407b75..7a38376c4c 100644
--- a/test/e2e-v2/cases/log/fluent-bit/docker-compose.yml
+++ b/test/e2e-v2/cases/log/fluent-bit/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   es:
     image: elastic/elasticsearch:${ES_VERSION}
diff --git a/test/e2e-v2/cases/log/log-base-compose.yml b/test/e2e-v2/cases/log/log-base-compose.yml
index 8aebe75dde..d5e17bb30b 100644
--- a/test/e2e-v2/cases/log/log-base-compose.yml
+++ b/test/e2e-v2/cases/log/log-base-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/log/mysql/docker-compose.yml b/test/e2e-v2/cases/log/mysql/docker-compose.yml
index 70df63180e..1ffaa168f9 100644
--- a/test/e2e-v2/cases/log/mysql/docker-compose.yml
+++ b/test/e2e-v2/cases/log/mysql/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   mysql:
     image: mysql/mysql-server:8.0.13
diff --git a/test/e2e-v2/cases/log/postgres/docker-compose.yml b/test/e2e-v2/cases/log/postgres/docker-compose.yml
index 0c97992fd1..3ef17eed28 100644
--- a/test/e2e-v2/cases/log/postgres/docker-compose.yml
+++ b/test/e2e-v2/cases/log/postgres/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   postgres:
     image: postgres:13
diff --git a/test/e2e-v2/cases/logql/docker-compose.yml b/test/e2e-v2/cases/logql/docker-compose.yml
index 8c586fc30c..8ad7d15cf2 100644
--- a/test/e2e-v2/cases/logql/docker-compose.yml
+++ b/test/e2e-v2/cases/logql/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/lua/docker-compose.yml b/test/e2e-v2/cases/lua/docker-compose.yml
index b269318b49..31e30be6ac 100644
--- a/test/e2e-v2/cases/lua/docker-compose.yml
+++ b/test/e2e-v2/cases/lua/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/mariadb/mariadb-slowsql/docker-compose.yaml b/test/e2e-v2/cases/mariadb/mariadb-slowsql/docker-compose.yaml
index 7df892e24a..98308778f5 100644
--- a/test/e2e-v2/cases/mariadb/mariadb-slowsql/docker-compose.yaml
+++ b/test/e2e-v2/cases/mariadb/mariadb-slowsql/docker-compose.yaml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/menu/banyandb/docker-compose.yml b/test/e2e-v2/cases/menu/banyandb/docker-compose.yml
index 6ed03994ee..90e9b894e3 100644
--- a/test/e2e-v2/cases/menu/banyandb/docker-compose.yml
+++ b/test/e2e-v2/cases/menu/banyandb/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   banyandb:
     extends:
diff --git a/test/e2e-v2/cases/menu/es/docker-compose.yml b/test/e2e-v2/cases/menu/es/docker-compose.yml
index bb1f387546..c13a70f329 100644
--- a/test/e2e-v2/cases/menu/es/docker-compose.yml
+++ b/test/e2e-v2/cases/menu/es/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   es:
     image: elastic/elasticsearch:8.18.8
diff --git a/test/e2e-v2/cases/menu/es/es-sharding/docker-compose.yml b/test/e2e-v2/cases/menu/es/es-sharding/docker-compose.yml
index 3e038bc839..72abbe6c4e 100644
--- a/test/e2e-v2/cases/menu/es/es-sharding/docker-compose.yml
+++ b/test/e2e-v2/cases/menu/es/es-sharding/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   es:
     image: elastic/elasticsearch:8.18.8
diff --git a/test/e2e-v2/cases/menu/mysql/docker-compose.yml b/test/e2e-v2/cases/menu/mysql/docker-compose.yml
index 29f70d9ad5..f16437cf0d 100644
--- a/test/e2e-v2/cases/menu/mysql/docker-compose.yml
+++ b/test/e2e-v2/cases/menu/mysql/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   mysql:
     image: mysql/mysql-server:8.0.13
diff --git a/test/e2e-v2/cases/menu/opensearch/docker-compose.yml b/test/e2e-v2/cases/menu/opensearch/docker-compose.yml
index 53a47c75b1..dfc6e6f695 100644
--- a/test/e2e-v2/cases/menu/opensearch/docker-compose.yml
+++ b/test/e2e-v2/cases/menu/opensearch/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   opensearch:
     image: opensearchproject/opensearch:${OPENSEARCH_VERSION}
diff --git a/test/e2e-v2/cases/menu/postgres/docker-compose.yml b/test/e2e-v2/cases/menu/postgres/docker-compose.yml
index bb0449d1ed..f4d04f0f54 100644
--- a/test/e2e-v2/cases/menu/postgres/docker-compose.yml
+++ b/test/e2e-v2/cases/menu/postgres/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   postgres:
     image: postgres:13
diff --git a/test/e2e-v2/cases/meter/docker-compose.yml b/test/e2e-v2/cases/meter/docker-compose.yml
index 736f27310e..23d9c96111 100644
--- a/test/e2e-v2/cases/meter/docker-compose.yml
+++ b/test/e2e-v2/cases/meter/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     environment:
diff --git a/test/e2e-v2/cases/mongodb/docker-compose.yml b/test/e2e-v2/cases/mongodb/docker-compose.yml
index 4118621675..2c0d728995 100644
--- a/test/e2e-v2/cases/mongodb/docker-compose.yml
+++ b/test/e2e-v2/cases/mongodb/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/mqe/docker-compose.yml b/test/e2e-v2/cases/mqe/docker-compose.yml
index d6924cbce8..1e544edfd9 100644
--- a/test/e2e-v2/cases/mqe/docker-compose.yml
+++ b/test/e2e-v2/cases/mqe/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/mysql/mysql-slowsql/docker-compose.yaml b/test/e2e-v2/cases/mysql/mysql-slowsql/docker-compose.yaml
index c3dc306bd9..df5e3ec693 100644
--- a/test/e2e-v2/cases/mysql/mysql-slowsql/docker-compose.yaml
+++ b/test/e2e-v2/cases/mysql/mysql-slowsql/docker-compose.yaml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/nginx/docker-compose.yml b/test/e2e-v2/cases/nginx/docker-compose.yml
index 92111eac8e..3451ac22b7 100644
--- a/test/e2e-v2/cases/nginx/docker-compose.yml
+++ b/test/e2e-v2/cases/nginx/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/nodejs/docker-compose.yml b/test/e2e-v2/cases/nodejs/docker-compose.yml
index 4c78c4f48d..bb3c379be2 100644
--- a/test/e2e-v2/cases/nodejs/docker-compose.yml
+++ b/test/e2e-v2/cases/nodejs/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/otlp-traces/docker-compose.yml b/test/e2e-v2/cases/otlp-traces/docker-compose.yml
index 2d5b81f301..72eb02bf7f 100644
--- a/test/e2e-v2/cases/otlp-traces/docker-compose.yml
+++ b/test/e2e-v2/cases/otlp-traces/docker-compose.yml
@@ -13,7 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '3.9'
 x-default-logging: &logging
   driver: "json-file"
   options:
diff --git a/test/e2e-v2/cases/otlp-virtual-genai/docker-compose.yml b/test/e2e-v2/cases/otlp-virtual-genai/docker-compose.yml
index fd198ef5b5..465fc8be0d 100644
--- a/test/e2e-v2/cases/otlp-virtual-genai/docker-compose.yml
+++ b/test/e2e-v2/cases/otlp-virtual-genai/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: "3"
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/php/docker-compose.yml b/test/e2e-v2/cases/php/docker-compose.yml
index 734a4fb24f..fc7d7c7437 100644
--- a/test/e2e-v2/cases/php/docker-compose.yml
+++ b/test/e2e-v2/cases/php/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/postgresql/postgres-exporter/docker-compose.yml b/test/e2e-v2/cases/postgresql/postgres-exporter/docker-compose.yml
index cfd4955668..fb4cdc3cfc 100644
--- a/test/e2e-v2/cases/postgresql/postgres-exporter/docker-compose.yml
+++ b/test/e2e-v2/cases/postgresql/postgres-exporter/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/profiling/async-profiler/banyandb/docker-compose.yml b/test/e2e-v2/cases/profiling/async-profiler/banyandb/docker-compose.yml
index 99aff4e41d..26c537b517 100644
--- a/test/e2e-v2/cases/profiling/async-profiler/banyandb/docker-compose.yml
+++ b/test/e2e-v2/cases/profiling/async-profiler/banyandb/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '3.8'
-
 services:
   banyandb:
     extends:
diff --git a/test/e2e-v2/cases/profiling/async-profiler/es/docker-compose.yml b/test/e2e-v2/cases/profiling/async-profiler/es/docker-compose.yml
index 9c4b0885b1..33a48a7161 100644
--- a/test/e2e-v2/cases/profiling/async-profiler/es/docker-compose.yml
+++ b/test/e2e-v2/cases/profiling/async-profiler/es/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '3.8'
-
 services:
   es:
     image: elastic/elasticsearch:8.18.8
diff --git a/test/e2e-v2/cases/profiling/async-profiler/mysql/docker-compose.yml b/test/e2e-v2/cases/profiling/async-profiler/mysql/docker-compose.yml
index 8b98f4d64b..00543691b6 100644
--- a/test/e2e-v2/cases/profiling/async-profiler/mysql/docker-compose.yml
+++ b/test/e2e-v2/cases/profiling/async-profiler/mysql/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   mysql:
     image: mysql/mysql-server:8.0.13
diff --git a/test/e2e-v2/cases/profiling/pprof/banyandb/docker-compose.yml b/test/e2e-v2/cases/profiling/pprof/banyandb/docker-compose.yml
index f8964fe7a8..1b167fafda 100644
--- a/test/e2e-v2/cases/profiling/pprof/banyandb/docker-compose.yml
+++ b/test/e2e-v2/cases/profiling/pprof/banyandb/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '3.8'
-
 services:
   banyandb:
     extends:
diff --git a/test/e2e-v2/cases/profiling/pprof/es/docker-compose.yml b/test/e2e-v2/cases/profiling/pprof/es/docker-compose.yml
index 6669917382..1b78a6114a 100644
--- a/test/e2e-v2/cases/profiling/pprof/es/docker-compose.yml
+++ b/test/e2e-v2/cases/profiling/pprof/es/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '3.8'
-
 services:
   es:
     image: elastic/elasticsearch:8.18.8
diff --git a/test/e2e-v2/cases/profiling/pprof/mysql/docker-compose.yml b/test/e2e-v2/cases/profiling/pprof/mysql/docker-compose.yml
index 828163d3ee..e70d29a2fc 100644
--- a/test/e2e-v2/cases/profiling/pprof/mysql/docker-compose.yml
+++ b/test/e2e-v2/cases/profiling/pprof/mysql/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   mysql:
     image: mysql/mysql-server:8.0.13
diff --git a/test/e2e-v2/cases/profiling/trace/banyandb/docker-compose.yml b/test/e2e-v2/cases/profiling/trace/banyandb/docker-compose.yml
index 26502d7fff..052bb5bd58 100644
--- a/test/e2e-v2/cases/profiling/trace/banyandb/docker-compose.yml
+++ b/test/e2e-v2/cases/profiling/trace/banyandb/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '3.8'
-
 services:
   banyandb:
     extends:
diff --git a/test/e2e-v2/cases/profiling/trace/es/docker-compose.yml b/test/e2e-v2/cases/profiling/trace/es/docker-compose.yml
index b7352440c7..e5fd1315dd 100644
--- a/test/e2e-v2/cases/profiling/trace/es/docker-compose.yml
+++ b/test/e2e-v2/cases/profiling/trace/es/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '3.8'
-
 services:
   es:
     image: elastic/elasticsearch:8.18.8
diff --git a/test/e2e-v2/cases/profiling/trace/es/es-sharding/docker-compose.yml b/test/e2e-v2/cases/profiling/trace/es/es-sharding/docker-compose.yml
index c23b2105b6..30c6ea94a3 100644
--- a/test/e2e-v2/cases/profiling/trace/es/es-sharding/docker-compose.yml
+++ b/test/e2e-v2/cases/profiling/trace/es/es-sharding/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '3.8'
-
 services:
   es:
     image: elastic/elasticsearch:8.18.8
diff --git a/test/e2e-v2/cases/profiling/trace/go/docker-compose.yml b/test/e2e-v2/cases/profiling/trace/go/docker-compose.yml
index d1df1d9c80..309ed1fd67 100644
--- a/test/e2e-v2/cases/profiling/trace/go/docker-compose.yml
+++ b/test/e2e-v2/cases/profiling/trace/go/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/profiling/trace/mysql/docker-compose.yml b/test/e2e-v2/cases/profiling/trace/mysql/docker-compose.yml
index 7c290ae516..0c86590fcb 100644
--- a/test/e2e-v2/cases/profiling/trace/mysql/docker-compose.yml
+++ b/test/e2e-v2/cases/profiling/trace/mysql/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   mysql:
     image: mysql/mysql-server:8.0.13
diff --git a/test/e2e-v2/cases/profiling/trace/opensearch/docker-compose.yml b/test/e2e-v2/cases/profiling/trace/opensearch/docker-compose.yml
index c25ad6fa7b..8cbebd36d2 100644
--- a/test/e2e-v2/cases/profiling/trace/opensearch/docker-compose.yml
+++ b/test/e2e-v2/cases/profiling/trace/opensearch/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   opensearch:
     image: opensearchproject/opensearch:${OPENSEARCH_VERSION}
diff --git a/test/e2e-v2/cases/profiling/trace/postgres/docker-compose.yml b/test/e2e-v2/cases/profiling/trace/postgres/docker-compose.yml
index 859bd6f1f7..65a1396ee3 100644
--- a/test/e2e-v2/cases/profiling/trace/postgres/docker-compose.yml
+++ b/test/e2e-v2/cases/profiling/trace/postgres/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   postgres:
     image: postgres:13
diff --git a/test/e2e-v2/cases/promql/docker-compose.yml b/test/e2e-v2/cases/promql/docker-compose.yml
index 437c8473bf..d5bfd04d39 100644
--- a/test/e2e-v2/cases/promql/docker-compose.yml
+++ b/test/e2e-v2/cases/promql/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
@@ -60,7 +58,5 @@ services:
       service: banyandb
     ports:
       - 17912
-
-
 networks:
   e2e:
diff --git a/test/e2e-v2/cases/pulsar/docker-compose.yml b/test/e2e-v2/cases/pulsar/docker-compose.yml
index 132eaacaa5..206d3756b8 100644
--- a/test/e2e-v2/cases/pulsar/docker-compose.yml
+++ b/test/e2e-v2/cases/pulsar/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '3'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/python/docker-compose.yml b/test/e2e-v2/cases/python/docker-compose.yml
index ff3a4236aa..f821dcb4b3 100644
--- a/test/e2e-v2/cases/python/docker-compose.yml
+++ b/test/e2e-v2/cases/python/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   zookeeper:
     image: zookeeper:3.4
@@ -155,8 +153,6 @@ services:
       timeout: 60s
       retries: 120
     entrypoint: ['python3', '/provider-kafka.py']
-
-
   consumer-py:
     build:
       context: .
diff --git a/test/e2e-v2/cases/rabbitmq/docker-compose.yml b/test/e2e-v2/cases/rabbitmq/docker-compose.yml
index 8333b8fdda..e87e779f85 100644
--- a/test/e2e-v2/cases/rabbitmq/docker-compose.yml
+++ b/test/e2e-v2/cases/rabbitmq/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/redis/redis-exporter/docker-compose.yml b/test/e2e-v2/cases/redis/redis-exporter/docker-compose.yml
index 2cfd5537a6..a0e511ad24 100644
--- a/test/e2e-v2/cases/redis/redis-exporter/docker-compose.yml
+++ b/test/e2e-v2/cases/redis/redis-exporter/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/rocketmq/docker-compose.yml b/test/e2e-v2/cases/rocketmq/docker-compose.yml
index a7ce08cc42..501583a2c2 100644
--- a/test/e2e-v2/cases/rocketmq/docker-compose.yml
+++ b/test/e2e-v2/cases/rocketmq/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: "3"
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/satellite/native-protocols/docker-compose.yml b/test/e2e-v2/cases/satellite/native-protocols/docker-compose.yml
index aed10a7c9b..2d76836ad0 100644
--- a/test/e2e-v2/cases/satellite/native-protocols/docker-compose.yml
+++ b/test/e2e-v2/cases/satellite/native-protocols/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
 
   etcd:
diff --git a/test/e2e-v2/cases/simple/auth/docker-compose.yml b/test/e2e-v2/cases/simple/auth/docker-compose.yml
index be13b40d93..07c42960eb 100644
--- a/test/e2e-v2/cases/simple/auth/docker-compose.yml
+++ b/test/e2e-v2/cases/simple/auth/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/simple/jdk/docker-compose.yml b/test/e2e-v2/cases/simple/jdk/docker-compose.yml
index 55e6f5f1f8..406124753d 100644
--- a/test/e2e-v2/cases/simple/jdk/docker-compose.yml
+++ b/test/e2e-v2/cases/simple/jdk/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/simple/mtls/docker-compose.yml b/test/e2e-v2/cases/simple/mtls/docker-compose.yml
index 1f2de2a271..3d2ac7de20 100644
--- a/test/e2e-v2/cases/simple/mtls/docker-compose.yml
+++ b/test/e2e-v2/cases/simple/mtls/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/simple/ssl/docker-compose.yml b/test/e2e-v2/cases/simple/ssl/docker-compose.yml
index b8d04edbf8..e597282cb8 100644
--- a/test/e2e-v2/cases/simple/ssl/docker-compose.yml
+++ b/test/e2e-v2/cases/simple/ssl/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/so11y/docker-compose.yml b/test/e2e-v2/cases/so11y/docker-compose.yml
index d45d938389..7996e11635 100644
--- a/test/e2e-v2/cases/so11y/docker-compose.yml
+++ b/test/e2e-v2/cases/so11y/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/storage/banyandb/data-generate/docker-compose.yml b/test/e2e-v2/cases/storage/banyandb/data-generate/docker-compose.yml
index d61a317c5a..7d0c3d59c5 100644
--- a/test/e2e-v2/cases/storage/banyandb/data-generate/docker-compose.yml
+++ b/test/e2e-v2/cases/storage/banyandb/data-generate/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   banyandb:
     image: "ghcr.io/apache/skywalking-banyandb:${SW_BANYANDB_COMMIT}"
diff --git a/test/e2e-v2/cases/storage/banyandb/docker-compose.yml b/test/e2e-v2/cases/storage/banyandb/docker-compose.yml
index f51dabc4eb..21991a297f 100644
--- a/test/e2e-v2/cases/storage/banyandb/docker-compose.yml
+++ b/test/e2e-v2/cases/storage/banyandb/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   banyandb:
     extends:
diff --git a/test/e2e-v2/cases/storage/banyandb/stages/docker-compose.yml b/test/e2e-v2/cases/storage/banyandb/stages/docker-compose.yml
index f44df42d26..f156df2696 100644
--- a/test/e2e-v2/cases/storage/banyandb/stages/docker-compose.yml
+++ b/test/e2e-v2/cases/storage/banyandb/stages/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   data-hot1:
     extends:
@@ -114,4 +112,3 @@ services:
 
 networks:
   e2e:
-
diff --git a/test/e2e-v2/cases/storage/banyandb/tls/docker-compose.yml b/test/e2e-v2/cases/storage/banyandb/tls/docker-compose.yml
index 1218179a63..2ed16d3124 100644
--- a/test/e2e-v2/cases/storage/banyandb/tls/docker-compose.yml
+++ b/test/e2e-v2/cases/storage/banyandb/tls/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   banyandb:
     extends:
diff --git a/test/e2e-v2/cases/storage/es/docker-compose.yml b/test/e2e-v2/cases/storage/es/docker-compose.yml
index 221d427c0c..dbe36ebb80 100644
--- a/test/e2e-v2/cases/storage/es/docker-compose.yml
+++ b/test/e2e-v2/cases/storage/es/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   es:
     image: elastic/elasticsearch:${ES_VERSION}
diff --git a/test/e2e-v2/cases/storage/es/es-sharding/docker-compose.yml b/test/e2e-v2/cases/storage/es/es-sharding/docker-compose.yml
index f4b8141dce..e056cafc6d 100644
--- a/test/e2e-v2/cases/storage/es/es-sharding/docker-compose.yml
+++ b/test/e2e-v2/cases/storage/es/es-sharding/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   es:
     image: elastic/elasticsearch:8.18.8
diff --git a/test/e2e-v2/cases/storage/mysql/docker-compose.yml b/test/e2e-v2/cases/storage/mysql/docker-compose.yml
index f19c1fbf9c..2533e454b9 100644
--- a/test/e2e-v2/cases/storage/mysql/docker-compose.yml
+++ b/test/e2e-v2/cases/storage/mysql/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   mysql:
     image: mysql/mysql-server:8.0.13
diff --git a/test/e2e-v2/cases/storage/opensearch/docker-compose.yml b/test/e2e-v2/cases/storage/opensearch/docker-compose.yml
index 9a6876c63a..b95023e3d8 100644
--- a/test/e2e-v2/cases/storage/opensearch/docker-compose.yml
+++ b/test/e2e-v2/cases/storage/opensearch/docker-compose.yml
@@ -13,7 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: "2.1"
 services:
   opensearch:
     image: opensearchproject/opensearch:${OPENSEARCH_VERSION}
diff --git a/test/e2e-v2/cases/storage/postgres/docker-compose.yml b/test/e2e-v2/cases/storage/postgres/docker-compose.yml
index 522f075d62..506b338f8d 100644
--- a/test/e2e-v2/cases/storage/postgres/docker-compose.yml
+++ b/test/e2e-v2/cases/storage/postgres/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   postgres:
     image: postgres:13
diff --git a/test/e2e-v2/cases/traceql/skywalking/docker-compose.yml b/test/e2e-v2/cases/traceql/skywalking/docker-compose.yml
index 464ecd3aae..cc45d85b82 100644
--- a/test/e2e-v2/cases/traceql/skywalking/docker-compose.yml
+++ b/test/e2e-v2/cases/traceql/skywalking/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   banyandb:
     extends:
diff --git a/test/e2e-v2/cases/traceql/zipkin/docker-compose.yml b/test/e2e-v2/cases/traceql/zipkin/docker-compose.yml
index b781530e54..d5b0a0688c 100644
--- a/test/e2e-v2/cases/traceql/zipkin/docker-compose.yml
+++ b/test/e2e-v2/cases/traceql/zipkin/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   banyandb:
     extends:
@@ -77,4 +75,3 @@ services:
 
 networks:
   e2e:
-
diff --git a/test/e2e-v2/cases/ttl/es/docker-compose.yml b/test/e2e-v2/cases/ttl/es/docker-compose.yml
index eb23bb09fb..774342257d 100644
--- a/test/e2e-v2/cases/ttl/es/docker-compose.yml
+++ b/test/e2e-v2/cases/ttl/es/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   es:
     image: elastic/elasticsearch:${ES_VERSION}
diff --git a/test/e2e-v2/cases/virtual-genai/docker-compose.yml b/test/e2e-v2/cases/virtual-genai/docker-compose.yml
index 9159ce298f..ff673f7eea 100644
--- a/test/e2e-v2/cases/virtual-genai/docker-compose.yml
+++ b/test/e2e-v2/cases/virtual-genai/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: "3"
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/virtual-mq/docker-compose.yml b/test/e2e-v2/cases/virtual-mq/docker-compose.yml
index accb4d0c81..b702d88cc7 100644
--- a/test/e2e-v2/cases/virtual-mq/docker-compose.yml
+++ b/test/e2e-v2/cases/virtual-mq/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/vm/prometheus-node-exporter/docker-compose.yml b/test/e2e-v2/cases/vm/prometheus-node-exporter/docker-compose.yml
index 05d0efba7d..82c7e3fcf6 100644
--- a/test/e2e-v2/cases/vm/prometheus-node-exporter/docker-compose.yml
+++ b/test/e2e-v2/cases/vm/prometheus-node-exporter/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/vm/telegraf/docker-compose.yml b/test/e2e-v2/cases/vm/telegraf/docker-compose.yml
index 83067b93f6..95d4abf5a3 100644
--- a/test/e2e-v2/cases/vm/telegraf/docker-compose.yml
+++ b/test/e2e-v2/cases/vm/telegraf/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/vm/zabbix/docker-compose.yml b/test/e2e-v2/cases/vm/zabbix/docker-compose.yml
index 177541ae33..5d4c0313ee 100644
--- a/test/e2e-v2/cases/vm/zabbix/docker-compose.yml
+++ b/test/e2e-v2/cases/vm/zabbix/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/win/docker-compose.yml b/test/e2e-v2/cases/win/docker-compose.yml
index 3a92e5be57..1335c4f0b4 100644
--- a/test/e2e-v2/cases/win/docker-compose.yml
+++ b/test/e2e-v2/cases/win/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/zipkin-virtual-genai/docker-compose.yml b/test/e2e-v2/cases/zipkin-virtual-genai/docker-compose.yml
index 83af7a65a8..0ad3bd041f 100644
--- a/test/e2e-v2/cases/zipkin-virtual-genai/docker-compose.yml
+++ b/test/e2e-v2/cases/zipkin-virtual-genai/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: "3"
-
 services:
   oap:
     extends:
diff --git a/test/e2e-v2/cases/zipkin/banyandb/docker-compose.yml b/test/e2e-v2/cases/zipkin/banyandb/docker-compose.yml
index 325f9acd2a..beefe5da02 100644
--- a/test/e2e-v2/cases/zipkin/banyandb/docker-compose.yml
+++ b/test/e2e-v2/cases/zipkin/banyandb/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   banyandb:
     extends:
diff --git a/test/e2e-v2/cases/zipkin/docker-compose-brave.yml b/test/e2e-v2/cases/zipkin/docker-compose-brave.yml
index a14c8a83b4..950380da47 100644
--- a/test/e2e-v2/cases/zipkin/docker-compose-brave.yml
+++ b/test/e2e-v2/cases/zipkin/docker-compose-brave.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   frontend:
     image: ghcr.io/openzipkin/brave-example:armeria
diff --git a/test/e2e-v2/cases/zipkin/es/docker-compose.yml b/test/e2e-v2/cases/zipkin/es/docker-compose.yml
index 07d77506be..31be0aeebb 100644
--- a/test/e2e-v2/cases/zipkin/es/docker-compose.yml
+++ b/test/e2e-v2/cases/zipkin/es/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   es:
     image: elastic/elasticsearch:8.18.8
diff --git a/test/e2e-v2/cases/zipkin/es/es-sharding/docker-compose.yml b/test/e2e-v2/cases/zipkin/es/es-sharding/docker-compose.yml
index 85e7217305..d36d5f4322 100644
--- a/test/e2e-v2/cases/zipkin/es/es-sharding/docker-compose.yml
+++ b/test/e2e-v2/cases/zipkin/es/es-sharding/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   es:
     image: elastic/elasticsearch:8.18.8
diff --git a/test/e2e-v2/cases/zipkin/kafka/docker-compose.yml b/test/e2e-v2/cases/zipkin/kafka/docker-compose.yml
index bd37518736..60277430c8 100644
--- a/test/e2e-v2/cases/zipkin/kafka/docker-compose.yml
+++ b/test/e2e-v2/cases/zipkin/kafka/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   zookeeper:
     image: zookeeper:3.4
diff --git a/test/e2e-v2/cases/zipkin/mysql/docker-compose.yml b/test/e2e-v2/cases/zipkin/mysql/docker-compose.yml
index 95b8bd4bab..239f992d27 100644
--- a/test/e2e-v2/cases/zipkin/mysql/docker-compose.yml
+++ b/test/e2e-v2/cases/zipkin/mysql/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   mysql:
     image: mysql/mysql-server:8.0.13
diff --git a/test/e2e-v2/cases/zipkin/opensearch/docker-compose.yml b/test/e2e-v2/cases/zipkin/opensearch/docker-compose.yml
index 5d40c5bf53..b09f0ceb2b 100644
--- a/test/e2e-v2/cases/zipkin/opensearch/docker-compose.yml
+++ b/test/e2e-v2/cases/zipkin/opensearch/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   opensearch:
     image: opensearchproject/opensearch:1.2.0
diff --git a/test/e2e-v2/cases/zipkin/postgres/docker-compose.yml b/test/e2e-v2/cases/zipkin/postgres/docker-compose.yml
index acd65e6329..286d90cf60 100644
--- a/test/e2e-v2/cases/zipkin/postgres/docker-compose.yml
+++ b/test/e2e-v2/cases/zipkin/postgres/docker-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   postgres:
     image: postgres:13
diff --git a/test/e2e-v2/script/docker-compose/base-compose.yml b/test/e2e-v2/script/docker-compose/base-compose.yml
index 2ed82f1c7a..c80036a139 100644
--- a/test/e2e-v2/script/docker-compose/base-compose.yml
+++ b/test/e2e-v2/script/docker-compose/base-compose.yml
@@ -13,8 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-version: '2.1'
-
 services:
   oap:
     image: skywalking/oap:latest