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

Use tini to forward signals properly #2

Open
crazycodr opened this issue Nov 16, 2018 · 0 comments
Open

Use tini to forward signals properly #2

crazycodr opened this issue Nov 16, 2018 · 0 comments

Comments

@crazycodr
Copy link

Do you know about tini? Check out https://github.com/krallin/tini.

I added it to your image by simply doing:

FROM eaudeweb/mailtrap

# Specify the tini version to use and install it
ENV TINI_VERSION v0.9.0
RUN wget https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini -O /tini && \
	chmod +x /tini

# Use tini instead of the docker-entrypoint directly
ENTRYPOINT ["/tini" , "--"]
CMD ["/var/local/docker-entrypoint.sh"]

This will make your container more responsive when it is stopped...

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

1 participant