Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] php_network_getaddresses:

The docker logs indicate it is running. The containers have limited commands available to them so I don’t have netcat.

I usually do sudo docker compose exec --user www-data app occ but occ is broken right now because it cannot connect to the db.