Después de ejecutar docker-compose build, todo funciona bien hasta el punto de restauración de paquetes, luego recibo:
No se pudo establecer la conexión SSL, consulte la excepción interna. La autenticación falló porque la parte remota cerró el flujo de transporte.
Parecía funcionar casi una vez extrayendo paquetes, pero poco después falla y falla desde entonces. Todo funciona bien ejecutando docker-compose en Visual Studio, solo sucede a través de CLI.
Reinicié Docker, reinstalé Docker, volví a ejecutar el comando varias veces, probé en diferentes redes, pasé días investigando en línea, reinicié la máquina.
Step 8/17 : RUN dotnet restore src/Services/Identity/Identity.API/Identity.API.csproj ---> Running in f3d6d7f541e3 Restoring packages for /src/src/Services/Identity/Identity.API/Identity.API.csproj... Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/serilog.aspnetcore/index.json'. The SSL connection could not be established, see inner exception. Authentication failed because the remote party has closed the transport stream. Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.extensions.options.configurationextensions/index.json'. The SSL connection could not be established, see inner exception. Authentication failed because the remote party has closed the transport stream. Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.authentication.openidconnect/index.json'. The SSL connection could not be established, see inner exception. Authentication failed because the remote party has closed the transport stream. Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.authentication/index.json'. The SSL connection could not be established, see inner exception. Authentication failed because the remote party has closed the transport stream. Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.extensions.logging/index.json'. The SSL connection could not be established, see inner exception. Authentication failed because the remote party has closed the transport stream. Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.cors/index.json'. The SSL connection could not be established, see inner exception. Authentication failed because the remote party has closed the transport stream.Disculpas por no volver a este tema. Esto ya no parece ser un problema, parece haber sido corregido por una razón que no recuerdo bien, sin embargo, sospecho que se debió a la conectividad de red con mi Internet.