File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
core/src/main/java/org/testcontainers/containers Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 14
14
/**
15
15
* Testcontainers implementation of the Docker MCP Gateway container.
16
16
* <p>
17
- * Supported images: {@code docker/agents_gateway }
17
+ * Supported images: {@code docker/mcp-gateway }
18
18
* <p>
19
19
* Exposed ports: 8811
20
20
*/
21
21
public class DockerMcpGatewayContainer extends GenericContainer <DockerMcpGatewayContainer > {
22
22
23
23
private static final String DOCKER_MCP_GATEWAY_IMAGE = "docker/mcp-gateway" ;
24
24
25
- private static final String DOCKER_AGENTS_GATEWAY_IMAGE = "docker/agents_gateway" ;
26
-
27
25
private static final DockerImageName DEFAULT_IMAGE_NAME = DockerImageName .parse (DOCKER_MCP_GATEWAY_IMAGE );
28
26
29
- private static final DockerImageName DOCKER_AGENTS_IMAGE_NAME = DockerImageName .parse (DOCKER_AGENTS_GATEWAY_IMAGE );
30
-
31
27
private static final int DEFAULT_PORT = 8811 ;
32
28
33
29
private static final String SECRETS_PATH = "/testcontainers/app/secrets" ;
@@ -44,7 +40,7 @@ public DockerMcpGatewayContainer(String dockerImageName) {
44
40
45
41
public DockerMcpGatewayContainer (DockerImageName dockerImageName ) {
46
42
super (dockerImageName );
47
- dockerImageName .assertCompatibleWith (DEFAULT_IMAGE_NAME , DOCKER_AGENTS_IMAGE_NAME );
43
+ dockerImageName .assertCompatibleWith (DEFAULT_IMAGE_NAME );
48
44
withExposedPorts (DEFAULT_PORT );
49
45
withFileSystemBind (DockerClientFactory .instance ().getRemoteDockerUnixSocketPath (), "/var/run/docker.sock" );
50
46
waitingFor (Wait .forLogMessage (".*Start sse server on port.*" , 1 ));
You can’t perform that action at this time.
0 commit comments