docs: public String createAndStartContainer(ImageConfiguration imageConfig,
                                            PortMapping portMapping,
                                            GavLabel gavLabel,
                                            Properties properties,
                                            File baseDir,
                                            String defaultContainerNamePattern,
                                            Date buildTimestamp) throws DockerAccessException {
          RunImageConfiguration runConfig = imageConfig.getRunConfiguration();
          String imageName = imageConfig.getName();
  
          Collection<Container> existingContainers = queryService.getContainersForImage(imageName, true);
          String containerName = ContainerNamingUtil.formatContainerName(imageConfig, defaultContainerNamePattern, buildTimestamp, existingContainers);
  
          ContainerCreateConfig config = createContainerConfig(imageName, runConfig, portMapping, gavLabel, properties, baseDir);
  
          String id = docker.createContainer(config, containerName);
          startContainer(imageConfig, id, gavLabel);
  
          if (portMapping.needsPropertiesUpdate()) {
              updateMappedPortsAndAddresses(id, portMapping);
          }
  
          return id;
      }