Skip to content
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

Not seeing output from container #3457

Open
stianlagstad opened this issue Feb 25, 2019 · 2 comments
Open

Not seeing output from container #3457

stianlagstad opened this issue Feb 25, 2019 · 2 comments

Comments

@stianlagstad
Copy link

I think I'm experiencing this issue.

  • 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:
capture

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!

@docker-robott
Copy link
Collaborator

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

@stianlagstad
Copy link
Author

/lifecycle frozen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants