There may be an issue with the add-db branch, for the .NET Docker tutorial as of today.
When I appeared by the line Open a browser and view the application at http://localhost:8080/. You should see a simple web application with the text Student name is., I could not connect to the website (Firefox and Edge alike,)
An important factor is that I went through the tutorial with .NET 8.
When I checkout'd a branch with .NET 6, the website worked (even if there were some error messages regarding the database).
It's likely that the change to .NET 8 caused some meaningful change.