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

Search for host networking mode containers by name during stop_containers #177

Merged
merged 1 commit into from
Jan 27, 2017

Commits on Jan 23, 2017

  1. Search for host networking mode containers by name during stop_contai…

    …ners.
    
    If a service uses host networking mode and you define a public port
    for the purpose of healthchecking, the stop container call fails because
    no such port is actually mapped.
    
    This workaround allows you to define a "dummy" port that won't be mapped
    (since host mode doesn't do that) but still satisfies the
    wait_for_health_check_ok semantics by passing the port through.
    
    It is a little weird that centurion "thinks" the port mappings exist
    without docker actually creating them.
    
    Resolves #164.
    Jonathan Owens committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    28a7b3c View commit details
    Browse the repository at this point in the history