public Builder addLabel(String key, String value) {
      labels.put(key, value);
      return this;
    }
Sets a label for the container.

@param key the label key
@param value the label value
@return this
jib-build-plan/src/main/java/com/google/cloud/tools/jib/api/buildplan/ContainerBuildPlan.java