@staticmethod<EOL><INDENT>def _list_podman_containers(filter=None):<DEDENT>
option = ["<STR_LIT>", filter] if filter else ["<STR_LIT>"]<EOL>cmdline = ["<STR_LIT>", "<STR_LIT>"] + option + ["<STR_LIT>", "<STR_LIT>"]<EOL>output = run_cmd(cmdline, return_output=True)<EOL>containers = json.loads(output)<EOL>return containers<EOL>
Finds podman containers by filter or all containers
:return: list of dicts with containers info