### 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_
"""Reserve the given container port for a short period of time"""
    reserved_docker_ports.reserve_port(port, duration=duration)
def is_container_port_reserved(port: int) -> bool:
    """Return whether the given container port is currently reserved"""
    return reserved_docker_ports.is_port_reserved(port)
def reserve_available_container_port(duration: int = None) -> int:
    """Determine and reserve a port that can then be bound by a Docker container"""
    def _random_port():
        port = None
        while not port or reserved_docker_ports.is_port_reserved(port):
            port = random.randint(PORT_START, PORT_END)
        return port
    retries = 10
    for i in range(retries):
        port = _random_port()
        if container_port_can_be_bound(port):
            reserve_container_port(port, duration=duration)
            return port
    raise PortNotAvailableException(
        f"Unable to determine available Docker container port after {retries} retries"
    )
DOCKER_CLIENT: ContainerClient = create_docker_client()