Hosting with Docker

Ah OK then it may be a permissions issue… During installation, Drupal will attempt to copy default.settings.php to settings.php itself and then write database details etc to it. But if that directory is not writeable by www-data then it won’t be able to. This would not only affect initial installation, but also uploading files later when you’re using farmOS.

Can you check whether or not that directory is writable by www-data?