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

docker stop when running the mock service takes an unusually long time #11

Open
bethesque opened this issue Jan 27, 2020 · 2 comments
Open

Comments

@bethesque
Copy link
Member

No description provided.

@YOU54F
Copy link
Member

YOU54F commented Feb 23, 2024

If I run the container with --init it is very responsive to sigkill's

without it, it is very likely it will hang or take a long time

Can't seem to find the official docs on it - this is taken from SO

You can use the --init flag to indicate that an init process should be used as the PID 1 in the container. Specifying an init process ensures the usual responsibilities of an init system, such as reaping zombie processes, are performed inside the created container. The default init process used is the first docker-init executable found in the system path of the Docker daemon process. This docker-init binary, included in the default installation, is backed by tini.

@YOU54F
Copy link
Member

YOU54F commented Sep 6, 2024

I imagine this may relate to pact-foundation/pact-mock_service#47

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

No branches or pull requests

2 participants