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

Improve slow shutdown #3

Closed
mikehaertl opened this issue Mar 17, 2017 · 2 comments
Closed

Improve slow shutdown #3

mikehaertl opened this issue Mar 17, 2017 · 2 comments
Assignees
Labels

Comments

@mikehaertl
Copy link
Contributor

I found, that the image has quite a long shutdown times for me of > 10 seconds. It's probably a similar issue as described here: clue/docker-adminer#17:

Current form of CMD does not passes signals to the supervisord and container can not be stopped via standard docker stop command. After a timeout, container is killed by Docker.

I know that supervisord is not used here, but maybe the same problem exists for php -S.

@TimWolla
Copy link
Owner

Use the Docker 1.13 --init flag, please. See also the discussion for my other official image spiped: docker-library/docs#814

I'm going to update the README files accordingly.

@TimWolla TimWolla self-assigned this Mar 23, 2017
@TimWolla TimWolla added the bug label Mar 23, 2017
@TimWolla
Copy link
Owner

Correcting myself: I was able to fix the issue, without adding any additional executables. So I went for that one. I can recommend --init nonetheless.

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

No branches or pull requests

2 participants