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: configure restart policy for networking pause container #15732

Merged
merged 1 commit into from
Jan 10, 2023

Commits on Jan 9, 2023

  1. docker: configure restart policy for networking pause container

    This PR modifies the configuration of the networking pause contaier to include
    the "unless-stopped" restart policy. The pause container should always be
    restored into a running state until Nomad itself issues a stop command for the
    container.
    
    This is not a _perfect_ fix for #12216 but it should cover the 99% use case -
    where a pause container gets accidently stopped / killed for some reason. There
    is still a possibility where the pause container and main task container are
    stopped and started in the order where the bad behavior persists, but this is
    fundamentally unavoidable due to how docker itself abstracts and manages the
    underlying network namespace referenced by the containers.
    
    Closes #12216
    shoenig committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    fe9bd3f View commit details
    Browse the repository at this point in the history