### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

**Given**: a setup with `podman` forwarding socket to the host; `localstack` connecting to `unix:///tmp/podman.sock`, as suggested by the documentation.

**What's wrong**: an attempt to fire `localstack start` dies with `TypeError: list indices must be integers or slices, not str`, because the string result of a docker command execution is checked for validity incorrectly.

See full stacktrace:

```
Traceback (most recent call last):
  File "/opt/homebrew/bin/localstack", line 23, in <module>
    main()
  File "/opt/homebrew/bin/localstack", line 19, in main
    main.main()
  File "/opt/homebrew/lib/python3.10/site-packages/localstack/cli/main.py", line 6, in main
    cli()
  File "/opt/homebrew/lib/python3.10/site-packages/localstack/cli/plugin.py", line 15, in __call__
    self.group(*args, **kwargs)
  File "/opt/homebrew/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/opt/homebrew/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/opt/homebrew/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/opt/homebrew/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/homebrew/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/opt/homebrew/lib/python3.10/site-packages/localstack/utils/analytics/cli.py", line 66, in publisher_wrapper
    return fn(*args, **kwargs)
  File "/opt/homebrew/lib/python3.10/site-packages/localstack/cli/localstack.py", line 148, in cmd_start
    bootstrap.start_infra_in_docker()
  File "/opt/homebrew/lib/python3.10/site-packages/localstack/utils/bootstrap.py", line 683, in start_infra_in_docker
    prepare_docker_start()
  File "/opt/homebrew/lib/python3.10/site-packages/localstack/utils/bootstrap.py", line 582, in prepare_docker_start
    if DOCKER_CLIENT.is_container_running(container_name):
  File "/opt/homebrew/lib/python3.10/site-packages/localstack/utils/container_utils/container_client.py", line 446, in is_container_running
    return container_name in self.get_running_container_names()
  File "/opt/homebrew/lib/python3.10/site-packages/localstack/utils/container_utils/container_client.py", line 440, in get_running_container_names
    result = self.list_containers(all=False)
  File "/opt/homebrew/lib/python3.10/site-packages/localstack/utils/container_utils/docker_cmd_client.py", line 210, in list_containers
    "id": container["ID"],
TypeError: list indices must be integers or slices, not str
```

### Expected Behavior

No error raised.

### How are you starting LocalStack?

With the `localstack` script

### Steps To Reproduce

#### How are you starting localstack (e.g., `bin/localstack` command, arguments, or `docker-compose.yml`)

`DOCKER_CMD="podman" DOCKER_SOCK="/tmp/podman.sock" DOCKER_HOST="unix:///tmp/podman.sock" localstack start`

> As a prerequisite, an SSH tunnel to a `podman` machine is enabled.


### Environment

```markdown
- OS: MacOS, running aarch64 (M1 chip)
- LocalStack: CLI 0.14.5
```


### Anything else?

_No response_
mount_volumes: Optional[List[SimpleVolumeBind]] = None,
        ports: Optional[PortMappings] = None,
        env_vars: Optional[Dict[str, str]] = None,
        user: Optional[str] = None,
        cap_add: Optional[List[str]] = None,
        cap_drop: Optional[List[str]] = None,
        security_opt: Optional[List[str]] = None,
        network: Optional[str] = None,
        dns: Optional[str] = None,
        additional_flags: Optional[str] = None,
        workdir: Optional[str] = None,
    ) -> Tuple[List[str], str]:
        env_file = None
        cmd = self._docker_cmd() + [action]
        if remove:
            cmd.append("--rm")
        if name:
            cmd += ["--name", name]
        if entrypoint is not None:  
            cmd += ["--entrypoint", entrypoint]
        if mount_volumes:
            cmd += [
                volume
                for host_path, docker_path in dict(mount_volumes).items()
                for volume in ["-v", f"{host_path}:{docker_path}"]
            ]
        if interactive:
            cmd.append("--interactive")
        if tty:
            cmd.append("--tty")