code: public boolean waitUp(String cloudId, DockerSlaveTemplate dockerSlaveTemplate,
                            InspectContainerResponse containerInspect) {
          if (isFalse(containerInspect.getState().getRunning())) {
              throw new IllegalStateException("Container '" + containerInspect.getId() + "' is not running!");
          }
  
          return true;
      }
docs: Wait until slave is up and ready for connection.