add key generator
This commit is contained in:
parent
9b302c4938
commit
8a05cde88d
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
echo "Print all login data to STDOUT... ";
|
||||
|
||||
|
||||
$dockerClient = new Docker();
|
||||
$allContainers = $dockerClient->getAllContainers();
|
||||
|
||||
foreach($allContainers as $thisContainer)
|
||||
{
|
||||
$apiKey = calcAPIKey($thisContainer);
|
||||
|
||||
fwrite(STDOUT, $thisContainer['Name']." == ".$apiKey);
|
||||
}
|
||||
|
||||
echo "done."
|
||||
?>
|
Loading…
Reference in New Issue