def _run_container(self, run_command_instance, callback):
tmpfile = os.path.join(get_backend_tmpdir(), random_tmp_filename())<EOL>run_command_instance.options += ["<STR_LIT>" % tmpfile]<EOL>logger.debug("<STR_LIT>" % run_command_instance)<EOL>response = callback()<EOL>def get_cont_id():<EOL><INDENT>if not os.path.exists(tmpfile):<EOL><INDENT>return False<EOL><DEDENT>with open(tmpfile, '<STR_LIT:r>') as fd:<EOL><INDENT>content = fd.read()<EOL><DEDENT>return bool(content)<EOL><DEDENT>Probe(timeout=<NUM_LIT:2>, count=<NUM_LIT:10>, pause=<NUM_LIT:0.1>, fnc=get_cont_id).run()<EOL>with open(tmpfile, '<STR_LIT:r>') as fd:<EOL><INDENT>container_id = fd.read()<EOL><DEDENT>if not container_id:<EOL><INDENT>raise ConuException("<STR_LIT>")<EOL><DEDENT>return container_id, response<EOL>
this is internal method