-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
membarrier + C# ASP.NET Core Container issue #1036
Comments
It seems like it is saying that |
Hi, thanks for the report. I've got a few more questions. Could you link to an example Docker image / Dockerfile that has this problem? You've described it, but being unfamiliar with .NET applications I'm not sure I'd create one correctly. Also, what is the behavior you actually see? Are there additional relevant log messages? i.e., is the application crashing, failing to respond to requests, etc? If possible, could you try running the container under gVisor locally (https://gvisor.dev/docs/user_guide/docker/) to see if the issue reproduces there? Thanks! |
Sure: I have created a sample project that attempts to reproduce the issue with minimal amount of code. Then I created the When I run the same container in GCE, everything works as expected. The application seems like it is running correctly, but gvisor is mentioning a message about Logs:
|
I can attempt to run |
@prattmic - It turns out that Cloud Run needed some extra configuration that most .NET apps do not require. The warning from Closing |
I have run into an issue with gvisor while trying to deploy a containerized C# ASP.NET Core application to Google Cloud Run.
I have used the default .NET Core 3 templates and dockerized the application. It works locally via docker/docker-compose.
When attempting to deploy to Google Cloud Run, the application deploys and seems to start successfully according to the application logs, however, the application fails to report healthy and eventually fails the deployment.
Here is logs from the Google Log Viewer:
I have tried to compile the container with various flags and fail with the same issue everytime.
I assume this is a gvisor issue account to the error message. Do you have any suggestions?
TODO: Figure out how to get real debug logs.
For all other issues, please attach debug logs. To get debug logs, follow the
instructions here: https://gvisor.dev/docs/user_guide/debugging/
Other useful information to include is:
runsc -v
docker version
ordocker info
if more relevantuname -a
-git describe
The text was updated successfully, but these errors were encountered: