docs: private String findContainerId(String imageNameOrAlias, boolean checkAllContainers) throws DockerAccessException {
          String id = lookupContainer(imageNameOrAlias);
  
          // check for external container. The image name is interpreted as a *container name* for that case ...
          if (id == null) {
              Container container = queryService.getContainer(imageNameOrAlias);
              if (container != null && (checkAllContainers || container.isRunning())) {
                  id = container.getId();
              }
          }
          return id;
      }