### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

`PORTS_CHECK_DOCKER_IMAGE` is not configurable which prevents ECS tasks from running on air-gapped environment



### Expected Behavior

`PORTS_CHECK_DOCKER_IMAGE` can be configured via configuration option to allow use of any available image 

### How are you starting LocalStack?

With a docker-compose file

### Steps To Reproduce

Run an ECS task in an environment where localstack/localstack is not available.

### Environment

```markdown
- OS: RHEL8
- Docker runtime version: Podman v4.2.0
- LocalStack: 1.3.1
```


### Anything else?

_No response_
if service not in self._provider_config:
            self._provider_config[service] = provider
    def set_provider(self, service: str, provider: str):
        self._provider_config[service] = provider
    def bulk_set_provider_if_not_exists(self, services: List[str], provider: str):
        for service in services:
            self.set_provider_if_not_exists(service, provider)
    def __getitem__(self, item):
        return self.get_provider(item)
    def __setitem__(self, key, value):
        self.set_provider(key, value)
    def __len__(self):
        return len(self._provider_config)
    def __iter__(self):
        return self._provider_config.__iter__()
SERVICE_PROVIDER_CONFIG = ServiceProviderConfig("default")
SERVICE_PROVIDER_CONFIG.load_from_environment()
def init_legacy_directories() -> Directories:
    global PERSISTENCE
    from localstack import constants
    constants.DEFAULT_VOLUME_DIR = "/tmp/localstack"
    if DATA_DIR:
        PERSISTENCE = True
    if is_in_docker:
        dirs = Directories.legacy_for_container()
    else:
        dirs = Directories.legacy_from_config()
    dirs.mkdirs()
    return dirs
def init_directories() -> Directories: