I have a .NET application running on a windows 10 computer using docker and postgres. When I run using the
"DockerTest": {
"commandName"
Have you tried with hos ip as your PostgreSQL host. I have just tested with asp.net core 3.1 and PostgreSQL both in windows 10 docker Linux separate container.
Its running without issue.
my connection string is
optionsBuilder.UseNpgsql("HOST=192.168.1.100;DataBase=TestIdentity;UserName=postgres;Password=*****;");