### 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_
entrypoint = docker_client.get_image_entrypoint("alpine")
        assert "" == entrypoint
    def test_get_container_entrypoint_non_existing_image(self, docker_client: ContainerClient):
        with pytest.raises(NoSuchImage):
            docker_client.get_image_entrypoint("thisdoesnotexist")
    def test_get_container_entrypoint_not_pulled_image(self, docker_client: ContainerClient):
        try:
            docker_client.get_image_cmd("alpine", pull=False)
            safe_run([config.DOCKER_CMD, "rmi", "alpine"])
        except ContainerException:
            pass
        entrypoint = docker_client.get_image_entrypoint("alpine")
        assert "" == entrypoint
    def test_get_container_command(self, docker_client: ContainerClient):
        command = docker_client.get_image_cmd("alpine")
        assert ["/bin/sh"] == command
    def test_get_container_command_not_pulled_image(self, docker_client: ContainerClient):