Skip to content

Docker input plugin imagename/version split does not work if private registry with port in url is used #1987

@erSitzt

Description

@erSitzt

Bug report

The docker input plugin splits the image name and image version at the colon.

python:3

results in

container_image: python
container_version: 3

but the image name may contain a private registry url which contains a port, also with a colon for separation.

eg.

registry.domain.com:5000/monitoring/cadvisor:internal.0.23

This results in

container_image: registry.domain.com:
container_version: 5000/monitoring/cadvisor

System info:

Telegraf Docker image telegraf:alpine

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugunexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions