Added: ability to search for a complete dockerHub repository
This commit is contained in:
parent
54ef9b5cc3
commit
ebe827028f
Binary file not shown.
@ -408,6 +408,7 @@ case 'search_dockerhub':
|
||||
|
||||
$communityTemplates = readJsonFile($caPaths['community-templates-info']);
|
||||
$filter = str_replace(" ","%20",$filter);
|
||||
$filter = str_replace("/","%20",$filter);
|
||||
$jsonPage = shell_exec("curl -s -X GET 'https://registry.hub.docker.com/v1/search?q=$filter&page=$pageNumber'");
|
||||
$pageresults = json_decode($jsonPage,true);
|
||||
$num_pages = $pageresults['num_pages'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user