Documentation

Java Go

Description

Docker Model Runner is a faster, simpler way to run and test AI models locally, right from your existing workflow.

Examples

Dependency:
<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>testcontainers</artifactId>
    <version>1.21.0</version>
    <scope>test</scope>
</dependency>
Usage:
DockerModelRunnerContainer dmr = new DockerModelRunnerContainer("alpine/socat:1.7.4.3-r0");

dmr.start();
Dependency:
go get github.com/testcontainers/testcontainers-go/modules/dockermodelrunner
Usage:
dmrContainer, err := dockermodelrunner.Run(context.Background())