Description
MariaDB is a community-developed, commercially supported fork of the MySQL relational database management system.Examples
Dependency:
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>mariadb</artifactId>
<version>1.20.0</version>
<scope>test</scope>
</dependency>
Usage:
var mariaDB = new MariaDBContainer<>(DockerImageName.parse("mariadb:10.5.5"));
mariaDB.start();
Dependency:
go get github.com/testcontainers/testcontainers-go/modules/mariadb
Usage:
mariaDBContainer, err := mariadb.Run(ctx, "mariadb:11.0.3")
Dependency:
dotnet add package Testcontainers.MariaDb --version 3.9.0
Usage:
var mariaDbContainer = new MariaDbBuilder()
.WithImage("mariadb:10.10")
.Build();
await mariaDbContainer.StartAsync();
Dependency:
npm install @testcontainers/mariadb --save-dev
Usage:
const container = await new MariaDbContainer().start();