Closed ahazelwood closed 6 years ago
It turns out that I had an issue with an earlier version of the dotnet-2.0 runtime hanging around in docker and docker was not pulling the latest. Once I force a re-pull of the runtime, things worked as expected. I also noticed that I have to do a dotnet --info instead of --version now.
Steps to reproduce the issue
Login to a vanilla Ubuntu 16.04.3 LTS instance.
Ensure latest docker-ce version is installed.
Create a local Dockerfile
Run: docker build . -t testah
Run the container and issue the command dotnet --version
Expected behavior
I would expect the latest version to get printed from the console.
Actual behavior
Error message as stated in point 5 above.
Additional information (e.g. issue happens only occasionally)
I was attempting to create a custom dotnet core console app from my windows machine within a linux container. However, whenever I attempt to run my container with the following docker container, I get the output below.
Output of
docker version
Output of
docker info