-
-
Notifications
You must be signed in to change notification settings - Fork 722
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
container start fail with sanic+sanic-openapi #106
Comments
@lethe3000 thank you for the code samples! it'll help with the repro! In the meantime, can you try something to see if it makes a difference... Do you mind specifying a custom http probe to hit the swagger endpoint that gets exposed with the swagger blueprint you have there? Your call should look something like this: You can find more info about the HTTP probes here: https://github.com/docker-slim/docker-slim#http-probe-commands P.S. |
extra dot is a typo, please dismiss, I'm trying add http probe.. |
I've modify
build commands:
docker-slim logs
|
hello, I'm having the same problem when the image is minified with docker-slim? Are there any news on this point? Thanks |
I have a simple sanic server, it runs ok with normal docker, but failed to launch when slimed.
and container exit with error
code as below, include
main.py
,Dockerfile
andrequirements.txt
Dockerfile
main.py
requirements.txt
Note that if I commented out line
app.blueprint(swagger_blueprint)
, slim container can launch successThe text was updated successfully, but these errors were encountered: