Skip to content

Commit

Permalink
Fix support for older container engines
Browse files Browse the repository at this point in the history
  • Loading branch information
0xEAB committed Jul 28, 2024
1 parent 8c4ca6f commit bc47f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ddct-src/Util/ContainerEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public function build(string $containerfilePath, ?ContainerTag $tag): void
*/
public function listImages(): array
{
$result = $this->executeCommand('images', '--format=json');
$result = $this->executeCommand('images', '--format={{ json . }}');

return array_map(function (string $json) {
$data = json_decode($json, true, JSON_THROW_ON_ERROR);
Expand Down

0 comments on commit bc47f12

Please sign in to comment.