🚨 AtomicJar is now part of Docker 🐋! Read the blog

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();
postgresContainer, 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();
await postgreSqlContainer.StartAsync();
const container = await new PostgreSqlContainer().start();