code: protected HostConfig.Builder createHostConfig(final DockerConfig config) {
          final HostConfig.Builder builder = HostConfig.builder() //
                  .portBindings(createPortBindings(config.getPorts()));
          for (final HostConfigurer configurer : config.getHostConfigurer()) {
              configurer.configureHost(builder);
          }
          return builder;
      }
docs: Returns a new {@link HostConfig.Builder} based upon the given configuration.
  
  Descendant classes can override this method to customize the configuration of the Docker
  container's host beyond what is allowed by {@link DockerConfig}.
  
  @param config
  docker container configuration
  @return a new {@link HostConfig.Builder}