public CreateImageOptions platform(String platform) {
    if (StringUtils.isNotBlank(platform)) {
      options.put("platform", platform);
    }
    return this;
  }
https://docs.docker.com/engine/api/v1.41/#operation/ImageCreate
src/main/java/io/fabric8/maven/docker/access/CreateImageOptions.java