docs: def internal_run_container(name, callback_method, foreground=False):
          """
          Internal method what runs container process
  
          :param name: str - name of container
          :param callback_method: list - how to invoke container
          :param foreground: bool run in background by default
          :return: suprocess instance
          """
          if not foreground:
              logger.info("Stating machine (boot nspawn container) {}".format(name))
              # wait until machine is booted when running at background, unable to execute commands without logind
              # in running container
              nspawn_process = NspawnContainer._internal_reschedule(callback_method)
              NspawnContainer._wait_for_machine_booted(name)
              logger.info("machine: %s starting finished" % name)
              return nspawn_process
          else:
              logger.info("Stating machine (return process) {}".format(name))
              return callback_method[0](callback_method[1], *callback_method[2], **callback_method[3])