I cannot get passed the installation part, I have tried many things I saw online but nothing. I keep getting this
Error while trying to create admin user: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for ‘nextcloud-db’ failed: Name or service not known
You could start by telling us what exactley you tried and what operating system you tried it on. Btw, there is a support template.
If you tried to install it manually, please post the related config files, and if you are using Docker, post your docker compose file or docker run command.