Tools, FAQ, Tutorials:
"docker run microsoft/dotnet-samples" - Test Run
How to do a test run on the "microsoft/dotnet-samples" Docker image?
✍: FYIcenter.com
"microsoft/dotnet-samples" Docker image is a good base image that supports .NET platform on Windows 10. You can try with with the "docker run microsoft/dotnet-samples" command:
1. Create a container and run it from microsoft/dotnet-samples:
C:\fyicenter> docker run --name windows microsoft/dotnet-samples Hello from .NET Core! ... **Environment** Platform: .NET Core OS: Microsoft Windows 10.0.14393
2. Check the container info:
C:\fyicenter> docker ps --latest CONTAINER ID IMAGE COMMAND STATUS NAMES a5c23e47e8bd microsoft/dotnet-samples "dotnet dotnetapp.dll" Exited (0) windows ...
2. Remove the container, so we can run the image again with the same container name:
C:\fyicenter> docker rm windows
Ok, we are able to run the default command "dotnet dotnetapp.dll" from the "microsoft/dotnet-samples" image.
Note that this Docker image is not accessible any more:
C:\fyicenter> docker\docker run --name windows microsoft/dotnet-samples Unable to find image 'microsoft/dotnet-samples:latest' locally docker\docker: Error response from daemon: pull access denied for microsoft/dotnet-samples, repository does not exist or may require 'docker login'.
⇒ "docker run --entrypoint" - Override Default Command
⇐ "no matching manifest for windows/amd64" Error
2022-12-15, 587🔥, 0💬
Popular Posts:
How to add an API to an API product for internal testing on the Publisher Portal of an Azure API Man...
How to use the "Ctrl-p Ctrl-q" sequence to detach console from the TTY terminal of container's runni...
Where to get a real Atom XML example? You can follow this tutorial to get a real Atom XML example: 1...
What is EPUB 2.0 Metadata "dc:publisher" and "dc:rights" elements? EPUB 2.0 Metadata "dc:publisher" ...
How to access URL template parameters from "context.Request.Matched Parameters"object in Azure API P...