Skip to content

Docker container not working #249

@SpookieTheWookie

Description

@SpookieTheWookie

Question

Hi Team,
I have been trying for days to get the project up and running on Docker, but I can't seem to get it started with the Docker compose files.
I have followed all of the steps outlined.
I have created the local certificates and updated my host file, but I still get an error when a project tries to connect to the database and run the migration.

Has anyone else been able to set it up using the mssql and default docker-compose file?

Relevant parts of the log file

   2025-01-13 16:20:07 [2025-01-13T23:20:07.8210004+00:00][FATL][12][] Host terminated unexpectedly
2025-01-13 16:20:07 Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 35 - An internal exception was caught)
2025-01-13 16:20:07  ---> System.Security.Authentication.AuthenticationException: Certificate failed chain validation. Error(s): 'self-signed certificate, [Status: UntrustedRoot]
2025-01-13 16:20:07 '.
2025-01-13 16:20:07 Certificate name mismatch. The provided 'DataSource' or 'HostNameInCertificate' does not match the name in the certificate.
2025-01-13 16:20:07

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions