mirror of
https://github.com/unraid/webgui.git
synced 2026-04-22 01:40:58 -05:00
Allow Docker image name to contain custom registry with a port specification.
This commit is contained in:
@@ -110,7 +110,7 @@ foreach ($containers as $ct) {
|
||||
if ($ct['BaseImage']) echo "<i class='fa fa-cubes' style='margin-right:5px'></i>".htmlspecialchars($ct['BaseImage'])."<br>";
|
||||
echo _('By').": ";
|
||||
$registry = $info['registry'];
|
||||
[$author,$version] = my_explode(':',$ct['Image']);
|
||||
['strRepo' => $author, 'strTag' => $version] = DockerUtil::parseImageTag($ct['Image']);
|
||||
if ($registry) {
|
||||
echo "<a href='".htmlspecialchars($registry)."' target='_blank'>".htmlspecialchars(compress($author,24))."</a>";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user