Skip to content

Improve automatic port discovery via image inspection. #13

@jmalloc

Description

@jmalloc

The Docker service inspector looks at image meta data to work out if there is a single target port exposed. This currently fails if the image does not exist on the node that Honeycomb is running on.

Additionally, it seems that only the repository name is being used to lookup the image, not the tag name - obviously ports could change between image tags so this needs to be taken into account.

There is a simple workaround: applying the honeycomb.port=<n> label to the service bypasses the image inspection altogether.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions