Skip to content

Commit 3d1c1b3

Browse files
authored
Remove support for docker/agents_gateway (#10473)
1 parent 527c750 commit 3d1c1b3

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

core/src/main/java/org/testcontainers/containers/DockerMcpGatewayContainer.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,16 @@
1414
/**
1515
* Testcontainers implementation of the Docker MCP Gateway container.
1616
* <p>
17-
* Supported images: {@code docker/agents_gateway}
17+
* Supported images: {@code docker/mcp-gateway}
1818
* <p>
1919
* Exposed ports: 8811
2020
*/
2121
public class DockerMcpGatewayContainer extends GenericContainer<DockerMcpGatewayContainer> {
2222

2323
private static final String DOCKER_MCP_GATEWAY_IMAGE = "docker/mcp-gateway";
2424

25-
private static final String DOCKER_AGENTS_GATEWAY_IMAGE = "docker/agents_gateway";
26-
2725
private static final DockerImageName DEFAULT_IMAGE_NAME = DockerImageName.parse(DOCKER_MCP_GATEWAY_IMAGE);
2826

29-
private static final DockerImageName DOCKER_AGENTS_IMAGE_NAME = DockerImageName.parse(DOCKER_AGENTS_GATEWAY_IMAGE);
30-
3127
private static final int DEFAULT_PORT = 8811;
3228

3329
private static final String SECRETS_PATH = "/testcontainers/app/secrets";
@@ -44,7 +40,7 @@ public DockerMcpGatewayContainer(String dockerImageName) {
4440

4541
public DockerMcpGatewayContainer(DockerImageName dockerImageName) {
4642
super(dockerImageName);
47-
dockerImageName.assertCompatibleWith(DEFAULT_IMAGE_NAME, DOCKER_AGENTS_IMAGE_NAME);
43+
dockerImageName.assertCompatibleWith(DEFAULT_IMAGE_NAME);
4844
withExposedPorts(DEFAULT_PORT);
4945
withFileSystemBind(DockerClientFactory.instance().getRemoteDockerUnixSocketPath(), "/var/run/docker.sock");
5046
waitingFor(Wait.forLogMessage(".*Start sse server on port.*", 1));

0 commit comments

Comments
 (0)