-
Notifications
You must be signed in to change notification settings - Fork 73
Can't run microsoft/aspnet
interactively
#64
Comments
Any update on this? I have the same problem. Added Docker Support to an existing application in Visual Studio 2017, and when I try to launch a debug version of the docker container, I get this same problem. Running Windows 10 Pro inside VMWare Fusions from Macbook Pro Docker Info: |
@shirhatti Not sure if this directly answers your question, but you could try creating a Dockerfile and specify the entrypoint to be
Otherwise if you don't overwrite the entrypoint, the entrypoint is defined as With that Dockerfile, you could then do |
I had a similar issue and docker run -it --rm --entrypoint powershell aspnet worked |
The aspnet base image uses ServiceMonitor.exe as entrypoint which is not an interactive process. You either have to change your entrypoint, like what @bsedg suggested. Or you can use |
This worked for me. Not sure why. Mind explaining @caokennedy |
I did this following the advise of @bsedg, who suggested changing the entry point to powershell (he suggested doing it in the Dockerfile but I just did it when running the image) |
From @mrichman on November 1, 2017 20:52
Can't run
microsoft/aspnet
interactively usingdocker run -it microsoft/aspnet:latest cmd.exe
Output of
docker info
:Copied from original issue: aspnet/aspnet-docker#323
The text was updated successfully, but these errors were encountered: