Certainly appears to be a network error. I assume you're 100% sure you've got the database config settings correct and the PDO extension for your database type (pdo_mysql for MySQL, pdo_sqlsrv for SQL Server) is configured for the php version you're using?
Docker would be easier to deploy than creating a VM.
Edit History
Certainly appears to be a network error. I assume you're 100% sure you've got the database config settings correct and the PDO extension for your database type is configured for the php version you're using?
Docker would be easier to deploy than creating a VM.