diff --git a/lcitool/containers/containers.py b/lcitool/containers/containers.py index ed79238e..e026c224 100644 --- a/lcitool/containers/containers.py +++ b/lcitool/containers/containers.py @@ -244,9 +244,9 @@ def _images(self): :returns: a string in JSON format containing image details. """ - # podman images --format {{json .}} --filter dangling=false + # podman images --format json --filter dangling=false - cmd_args = ["--format", "{{json .}}", "--filter", "dangling=false"] + cmd_args = ["--format", "json", "--filter", "dangling=false"] cmd = [self.engine, "images"] cmd.extend(cmd_args)