Skip to content

Commit e01d991

Browse files
committed
#4513 - generate.md
1 parent b899fb9 commit e01d991

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

docs/howto/generate.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,20 +77,14 @@ tables and objects before running `sqlc generate`.
7777

7878
## Enhanced analysis with a local container
7979

80-
If you have Docker available, `sqlc` can automatically start a local PostgreSQL container, apply your schema, and use it for query analysis — no external database required. Currently supported for PostgreSQL only. Set `testcontainers_image` to the Docker image you want to use:
80+
If you have a Docker API-compatible container runtime available (Docker, Podman, Colima, etc.), `sqlc` can automatically start a local PostgreSQL container, apply your schema, and use it for query analysis — no external database required. Currently supported for PostgreSQL only. Set `testcontainers_image` to the container image you want to use:
8181

8282
```yaml
8383
version: "2"
8484
sql:
8585
- engine: "postgresql"
86-
queries: "query.sql"
87-
schema: "schema.sql"
8886
database:
8987
testcontainers_image: "postgres:18-alpine"
90-
gen:
91-
go:
92-
out: "db"
93-
sql_package: "pgx/v5"
9488
```
9589

9690
`testcontainers_image` is mutually exclusive with `uri` and `managed`.

0 commit comments

Comments
 (0)