Skip to content

Glossary: Docker Basics

docker-entrypoint-initdb.d

Also written: init.sql

A folder in the Postgres image: when it creates a new database it runs any `.sql` files found there. Compose bind-mounts `init.sql` into it to create tables on first start.

Where the book teaches it

Related terms

PostgreSQLBind mount