diff --git a/spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/testcontainers/DockerImageNames.java b/spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/testcontainers/DockerImageNames.java index a0e9f0f95cc0..a5b5365ab1b8 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/testcontainers/DockerImageNames.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/testcontainers/DockerImageNames.java @@ -240,9 +240,7 @@ public static DockerImageName redis() { * @return a docker image name for running redpanda */ public static DockerImageName redpanda() { - return DockerImageName.parse("redpandadata/redpanda") - .withTag(REDPANDA_VERSION) - .asCompatibleSubstituteFor("docker.redpanda.com/redpandadata/redpanda"); + return DockerImageName.parse("redpandadata/redpanda").withTag(REDPANDA_VERSION); } /**