-
Notifications
You must be signed in to change notification settings - Fork 143
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
Crash on startup with latest Docker (master) #696
Comments
can you try latest image and paste full stack trace here?I can't re-produce. |
Perhaps its because I'm not serving assets? I'm running a web server to serve the assets which has been working great until this last push. That error is literally all that appears before the container crashes:
Please note that I have pulled the latest static assets from the latest docker image. I mount the assets directory from the image into the web server container. Same image ID. My setup always pulls the latest image on startup. Thanks! |
can you paste your full docker run command or compose config file? |
Not running with any extra Docker commands (using K8s) these are the
|
Ok, I'll take a look |
I still can not re-produce... |
can you try latest image which will print error's stack trace? |
Sorry, stepped out for the evening. Double-checked asset locations for webserver, still correct and using this same image for those assets. |
I still can't find out reason… does flood without any option works? |
please try latest image and paste stack trace again |
No log; just fails to start the container now. Instant crash. |
zero log at all? |
sorry, I still can't re-produce this, I'm using docker-compose. |
Interesting! I had a TCP health-check on port 3000 and the recent changes for testing somehow delayed the TCP health-check longer than my threshold permitted so K8s decided to kill the pod. I've disabled health-checks and got the log:
|
can you try |
Now we're getting somewhere:
Try running as non-root? 😄 |
I'm guessing this is a different problem, dbg image run flood with npm and run process with different user. How did you mount volume in your container? |
Mounting an |
Then I have no idea... |
You are trying this as well where assets are not served and a webserver is being run? This worked fine until the other day... It's definitely related to the latest commits... |
Yes, I use same options with docker-compose and still can't re-produce it. I guess this is caused by #661, but you can't run start dbg image as expected so I can't debug it... |
Ah, well then let's try as root :)
|
Looks like this container doesn't exit? |
Yeah, I didn't edit my config properly so another probe killed it early. The |
I'll try fix source map in distroless image |
please try latest distroless image again, stack trace should work now. |
Same errors but I realized something. If
Perhaps it's how those settings are being pushed? |
please paste stack trace… |
can you share your key and crt file?I have a ssl cert but didn't reproduce this issue. |
Yep, it's regenerated on container creation though. I'm not overly familiar with |
It mean ssl is disabled by defualt |
OK, I can reproduce now, it need a http request to trigger this issue. |
OK, this bug is caused by |
Type: Bug Report
Your Environment
jesec/flood:master-distroless
from Docker as of December 7th 2023.Summary
Docker image fails to launch with the following:
TypeError: Cannot read properties of undefined (reading 'push')
Expected Behavior
Flood should start.
Current Behavior
Flood does not start.
Possible Solution
Steps to Reproduce
jesec/flood:master-distroless
from DockerContext
Use Flood.
The text was updated successfully, but these errors were encountered: