Description
PostgreSQL, also known as Postgres, is a free and open-source relational database management system emphasizing extensibility and SQL compliance.Examples
var postgres = new PostgreSQLContainer<>(DockerImageName.parse(("postgres:9.6.12"));
postgres.start();
container, err := postgres.RunContainer(ctx,
testcontainers.WithImage("postgres:9.6"),
postgres.WithDatabase("test"),
postgres.WithUsername("user"),
postgres.WithPassword("password"),
)
var postgreSqlContainer = new PostgreSqlBuilder()
.WithImage("postgres:15.1")
.Build();
postgreSqlContainer.StartAsync();
const container = await new PostgreSqlContainer().start();