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

drivers/docker: add support for STOPSIGNAL #10441

Merged
merged 1 commit into from
May 5, 2021
Merged

Commits on May 5, 2021

  1. drivers/docker: add support for STOPSIGNAL

    This fixes a bug where Nomad overrides a Dockerfile's STOPSIGNAL with
    the default kill_signal (SIGTERM).
    
    This adds a check for kill_signal. If it's not set, it calls
    StopContainer instead of Signal, which uses STOPSIGNAL if it's
    specified. If both kill_signal and STOPSIGNAL are set, Nomad tries to
    stop the container with kill_signal first, before then calling
    StopContainer.
    
    Fixes #9989
    isabeldepapel committed May 5, 2021
    Configuration menu
    Copy the full SHA
    379c095 View commit details
    Browse the repository at this point in the history