### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

when running `localstack start --detached` on windows, i get the following error. but the localstack container is started

```
PS C:\Users\thomas> localstack start --detached

C:\Users\thomas>python C:\Users\thomas\AppData\Local\Programs\Python\Python38\Scripts\\localstack start --detached

     __                     _______ __             __
    / /   ____  _________ _/ / ___// /_____ ______/ /__
   / /   / __ \/ ___/ __ `/ /\__ \/ __/ __ `/ ___/ //_/
  / /___/ /_/ / /__/ /_/ / /___/ / /_/ /_/ / /__/ ,<
 /_____/\____/\___/\__,_/_//____/\__/\__,_/\___/_/|_|

 💻 LocalStack CLI 0.13.3.3

[19:44:23] starting LocalStack in Docker mode 🐳                                                       localstack.py:1152022-01-24T19:44:27.581:INFO:bootstrap.py: Execution of "prepare_host" took 3853.20ms
[19:44:27] preparing environment                                                                        bootstrap.py:709[19:44:28] configuring container                                                                        bootstrap.py:717           starting container                                                                           bootstrap.py:723Traceback (most recent call last):
  File "C:\Users\thomas\AppData\Local\Programs\Python\Python38\Scripts\\localstack", line 25, in <module>
    main()
  File "C:\Users\thomas\AppData\Local\Programs\Python\Python38\Scripts\\localstack", line 21, in main
    main.main()
  File "C:\Users\thomas\AppData\Local\Programs\Python\Python38\lib\site-packages\localstack\cli\main.py", line 6, in main
    cli()
  File "C:\Users\thomas\AppData\Local\Programs\Python\Python38\lib\site-packages\localstack\cli\plugin.py", line 15, in __call__
    self.group(*args, **kwargs)
  File "C:\Users\thomas\AppData\Local\Programs\Python\Python38\lib\site-packages\click\core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "C:\Users\thomas\AppData\Local\Programs\Python\Python38\lib\site-packages\click\core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "C:\Users\thomas\AppData\Local\Programs\Python\Python38\lib\site-packages\click\core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "C:\Users\thomas\AppData\Local\Programs\Python\Python38\lib\site-packages\click\core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Users\thomas\AppData\Local\Programs\Python\Python38\lib\site-packages\click\core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "C:\Users\thomas\AppData\Local\Programs\Python\Python38\lib\site-packages\localstack\cli\localstack.py", line 126, in cmd_start
    bootstrap.start_infra_in_docker_detached(console)
  File "C:\Users\thomas\AppData\Local\Programs\Python\Python38\lib\site-packages\localstack\utils\bootstrap.py", line 726, in start_infra_in_docker_detached
    server.wait_is_container_running()
  File "C:\Users\thomas\AppData\Local\Programs\Python\Python38\lib\site-packages\localstack\utils\bootstrap.py", line 537, in wait_is_container_running
    return poll_condition(self.is_container_running, timeout)
  File "C:\Users\thomas\AppData\Local\Programs\Python\Python38\lib\site-packages\localstack\utils\common.py", line 959, in poll_condition
    while not condition():
  File "C:\Users\thomas\AppData\Local\Programs\Python\Python38\lib\site-packages\localstack\utils\bootstrap.py", line 534, in is_container_running
    return DOCKER_CLIENT.is_container_running(self.container.name)
  File "C:\Users\thomas\AppData\Local\Programs\Python\Python38\lib\site-packages\localstack\utils\docker_utils.py", line 381, in is_container_running
    return container_name in self.get_running_container_names()
  File "C:\Users\thomas\AppData\Local\Programs\Python\Python38\lib\site-packages\localstack\utils\docker_utils.py", line 375, in get_running_container_names
    result = self.list_containers(all=False)
  File "C:\Users\thomas\AppData\Local\Programs\Python\Python38\lib\site-packages\localstack\utils\docker_utils.py", line 661, in list_containers
    container_list = [json.loads(line) for line in cmd_result.splitlines()]
  File "C:\Users\thomas\AppData\Local\Programs\Python\Python38\lib\site-packages\localstack\utils\docker_utils.py", line 661, in <listcomp>
    container_list = [json.loads(line) for line in cmd_result.splitlines()]
  File "C:\Users\thomas\AppData\Local\Programs\Python\Python38\lib\json\__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "C:\Users\thomas\AppData\Local\Programs\Python\Python38\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Users\thomas\AppData\Local\Programs\Python\Python38\lib\json\decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Invalid \escape: line 1 column 124 (char 123)
```

```
PS C:\Users\thomas> docker ps -a
CONTAINER ID   IMAGE                   COMMAND                  CREATED         STATUS         PORTS
                                                  NAMES
53b0bf523ee8   localstack/localstack   "docker-entrypoint.sh"   2 minutes ago   Up 2 minutes   127.0.0.1:4566->4566/tcp, 127.0.0.1:4571->4571/tcp, 127.0.0.1:12121->12121/tcp, 5678/tcp   localstack_main
```

### Expected Behavior

_No response_

### How are you starting LocalStack?

With the `localstack` script

### Steps To Reproduce

`localstack start --detached`

### Environment

```markdown
- OS: Windows 10
- LocalStack: 0.13.3.3
```


### Anything else?

_No response_
import threading
from abc import ABCMeta, abstractmethod
from enum import Enum, unique
from pathlib import Path
from typing import Dict, List, Optional, Tuple, Union
import docker
from docker import DockerClient
from docker.errors import APIError, ContainerError, DockerException, ImageNotFound, NotFound
from docker.models.containers import Container
from docker.utils.socket import STDERR, STDOUT, frames_iter
from localstack import config
from localstack.utils.common import (
    TMP_FILES,
    HashableList,
    rm_rf,
    safe_run,
    save_file,
    short_uid,
    start_worker_thread,
    to_bytes,
)
from localstack.utils.run import to_str
LOG = logging.getLogger(__name__)
SDK_ISDIR = 1 << 31
@unique
class DockerContainerStatus(Enum):
    DOWN = -1
    NON_EXISTENT = 0
    UP = 1
class ContainerException(Exception):