Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-7552

PMM Server Docker image: Add labels to PMM Server Docker image

Details

    • 1
    • Yes
    • No
    • C/S Core

    Description

      PMM docker image has the default CentOS image labels. You can see the labels when you `docker inspect` the image:

                 "Labels": {
                      "org.label-schema.build-date": "20201113",
                      "org.label-schema.license": "GPLv2",
                      "org.label-schema.name": "CentOS Base Image",
                      "org.label-schema.schema-version": "1.0",
                      "org.label-schema.vendor": "CentOS",
                      "org.opencontainers.image.created": "2020-11-13 00:00:00+00:00",
                      "org.opencontainers.image.licenses": "GPL-2.0-only",
                      "org.opencontainers.image.title": "CentOS Base Image",
                      "org.opencontainers.image.vendor": "CentOS"
                  }
      

      I'm wondering if you could customise these labels and add at least a Name and a version labels such as:

      "Labels": {
        "name": "percona/pmm-server",
        "version": "2.14"
      }

      The use-case is to filter docker images on labels and identify PMM images from other images.

      docker images --filter "name=percona/pmm-server"
      

      Thank you!

       

      Attachments

        Issue Links

          Activity

            People

              nikita.beletskii Nikita Beletskii (Inactive)
              boutetnico Nicolas
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Smart Checklist