You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm creating a docker image using microsoft/dotnet-framework:4.7.2-sdk.
The entrypoint is ENTRYPOINT ".\my-executable.exe".
When I start the container with docker run -it my-image I don't see any output from my executable.
When I run it directly on my system I see the expected output.
The executable was created with msbuild my-project.csproj /t:rebuild /p:Configuration=Release /p:PlatformTarget=x64.
My program has nothing to do with MSYS as far as I can tell.
If I instead go into a container with docker run -it --entrypoint "powershell" my-image, and then execute .\my-executable.exe while inside the container, I do see the expected output there (inside the container).
Is there something specific I have to do to make sure the output of my executable is actually output to the user running docker run -it my-image?
Version and machine information:
The laptop:
Versions:
λ msbuild --version
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
λ docker --version
Docker version 18.09.1, build 4c52b90
Thank you!
The text was updated successfully, but these errors were encountered:
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.
Prevent issues from auto-closing with an /lifecycle frozen comment.
If this issue is safe to close now please do so.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle stale
I think I'm experiencing this issue.
microsoft/dotnet-framework:4.7.2-sdk
.ENTRYPOINT ".\my-executable.exe"
.docker run -it my-image
I don't see any output from my executable.msbuild my-project.csproj /t:rebuild /p:Configuration=Release /p:PlatformTarget=x64
.docker run -it --entrypoint "powershell" my-image
, and then execute.\my-executable.exe
while inside the container, I do see the expected output there (inside the container).Is there something specific I have to do to make sure the output of my executable is actually output to the user running
docker run -it my-image
?Version and machine information:
The laptop:

Versions:
Thank you!
The text was updated successfully, but these errors were encountered: