code: private void appendContainerConfig(DockerSlaveTemplate slaveTemplate, CreateContainerCmd containerConfig) {
          Map<String, String> labels = containerConfig.getLabels();
          if (labels == null) labels = new HashMap<>();
  
          labels.put(DOCKER_CLOUD_LABEL, getDisplayName());
          labels.put(DOCKER_TEMPLATE_LABEL, slaveTemplate.getId());
  
          containerConfig.withLabels(labels);
      }
docs: Cloud specific container config options