Just ran into this one: https://github.com/docker-library/postgres/commit/ec0cb67f0f214ae5d93e5a2254974462a27f44a1 After a docker compose down and docker compose up, the database container appeared to come up with an empty database (it actually just expected the database volume in a different location, so no data was lost).