-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Is it possible to run prefork mode inside docker? 🤗 #1021
Comments
Thanks for opening your first issue here! 🎉 Be sure to follow the issue template! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord |
We just did a little investigation in the Discord. Prefork uses environment variables so it will need to be executed within a shell. Docker docs:
So execute your app with either We've also mentioned this case in the docs, gofiber/docs#144 |
Sorry I have missed the discussion in the Discord chat :( |
Another workaround if you still have a problem running |
Question description
When I run fiber with
prefork: false
inside docker, all works fine.prefork: true
causes the container to panic out.Code snippet Optional
**Output
The text was updated successfully, but these errors were encountered: