Skip to content

Hub: deeplethe/postgres-fixture v1

Choose a tag to compare

@WaylandYang WaylandYang released this 27 May 04:58
· 359 commits to main since this release
bfcd388

Hub snapshot pack for deeplethe/postgres-fixture — PostgreSQL 16 with initdb complete and postmaster pre-launched.

  • Base image: postgres:16
  • Memory: 1024 MiB
  • Compressed size: 38.0 MiB (1.00 GiB uncompressed, 26.9× zstd)
  • Recipe: recipes/postgres-fixture/
  • Per-child fork-per-test: ~10 ms (vs ~2 s for a fresh container start + initdb).
forkd pull deeplethe/postgres-fixture
sudo -E forkd fork --tag postgres-fixture -n 20 --per-child-netns --memory-limit-mib 512

Each child accepts psql at 10.42.0.2:5432 (user=forkd, db=forkd_test). Connect from the host via the child's netns or expose via your usual netns plumbing.