A list of new line separated docker labels to be set on the container, Specified in the form "label_name=value".

This has no effect on Jenkins functionality, and is not related to the labels used by Jenkins to map jobs to slave nodes. These labels are metadata attached to the docker container itself (again, not the jenkins slave), and which can typically be read using the docker inspect command.

This can be useful when using a docker cluster (like docker swarm) to pass information to the scheduler, in conjunction with constraints; or to let other services (portainer, prometheus...) know how they should categorize or otherwise deal with this specific container.

Notes: