### Description

The current version of docker operator always performs TLS certificate validation. I think it would be nice to add an option to choose whether or not to validate the provided certificate.

### Use case/motivation

My work environment has several docker hosts with expired self-signed certificates. Since it is difficult to renew all certificates immediately, we are using a custom docker operator to disable certificate validation.

It would be nice if it was provided as an official feature, so I registered an issue.

### Related issues

_No response_

### Are you willing to submit a PR?

- [X] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)

self.client_mock.attach.return_value = ["unicode container log 😁"]
        original_raise_exceptions = logging.raiseExceptions
        logging.raiseExceptions = True
        operator = DockerOperator(image=TEST_IMAGE, owner="unittest", task_id="unittest")
        with mock.patch("traceback.print_exception") as print_exception_mock:
            operator.execute(None)
            logging.raiseExceptions = original_raise_exceptions
            print_exception_mock.assert_not_called()
    @pytest.mark.parametrize(
        "extra_kwargs, actual_exit_code, expected_exc",
        [
            (None, 99, AirflowException),
            ({"skip_exit_code": 100}, 100, AirflowSkipException),
            ({"skip_exit_code": 100}, 101, AirflowException),
            ({"skip_exit_code": None}, 100, AirflowException),
        ],
    )
    def test_skip(self, extra_kwargs, actual_exit_code, expected_exc):
        msg = {"StatusCode": actual_exit_code}
        self.client_mock.wait.return_value = msg
        kwargs = dict(image="ubuntu", owner="unittest", task_id="unittest")
        if extra_kwargs:
            kwargs.update(**extra_kwargs)
        operator = DockerOperator(**kwargs)
        with pytest.raises(expected_exc):
            operator.execute({})
    def test_execute_container_fails(self):