remove file after use
This commit is contained in:
parent
d728e68f1a
commit
85016dbc94
|
@ -42,6 +42,7 @@ if(isset($_SESSION['LOGIN']))
|
|||
file_put_contents($filename, $command."\n");
|
||||
|
||||
system('cat '.$filename.' | socat EXEC:"docker attach '.$container['Id'].'",pty STDIN');
|
||||
unlink($filename);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue