-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dotnet.runtimeconfig.json is empty when docker build executed #259
Comments
Can you try running dotnet restore and dotnet build? |
This issue is stale because there has been no response to a request for more information for 7 days. |
Sorry for being late. Seems like something wrong in system itself since a machine is old one and some VSs, VSCs, .NETs were installed, uninstalled many times. There were no problems on laptop with only VSC installed. Next text is about original old PC and Docker. -- wsl --install delete bin, obj -- docker build -t mymicroservice . on build: next: build went onto -- Docker Desktop is restarted => [build 5/6] COPY . . 0.1s View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/dy5k268htjn2g849st5m3nnxo -- shutting down, starting PC ERROR: error during connect: Head "http://%2F%2F.%2Fpipe%2FdockerDesktopLinuxEngine/_ping": open //./pipe/dockerDesktopLinuxEngine: The system cannot find the file specified. starting Docker Desktop, engine is running docker build -t mymicroservice . => CACHED [build 5/6] COPY . . 0.0s build details: Determining projects to restore... |
URL
https://dotnet.microsoft.com/en-us/learn/aspnet/microservice-tutorial/docker-image
Operating system
Windows
More information about your system
Windows 10 Pro 22H2
x64
Description
Ran as provided by tutorial: docker build -t mymicroservice .
Got
=> ERROR [build 4/6] RUN dotnet restore
exit code: 147
dotnet --info
.NET SDK:
Version: 8.0.402
Commit: 70aa751718
Workload version: 8.0.400-manifests.251308be
MSBuild version: 17.11.4+37eb419ad
Runtime Environment:
OS Name: Windows
OS Version: 10.0.19045
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\8.0.402\
.NET workloads installed:
Configured to use loose manifests when installing new manifests.
There are no installed workloads to display.
Host:
Version: 8.0.8
Architecture: x64
Commit: 08338fcaa5
.NET SDKs installed:
8.0.400 [C:\Program Files\dotnet\sdk]
8.0.402 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.33 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.33 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.8 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables:
Not set
global.json file:
Not found
The text was updated successfully, but these errors were encountered: