PostgreSQL 18 Docker: fixing the /var/lib/postgresql/data error
Switching Docker Compose to postgres:18 makes the container exit because of the /var/lib/postgresql/data mount. Here is the fix and how to migrate 17 data.
Switching Docker Compose to postgres:18 makes the container exit because of the /var/lib/postgresql/data mount. Here is the fix and how to migrate 17 data.