### Apache Airflow Provider(s)

docker

### Versions of Apache Airflow Providers

apache-airflow-providers-docker          3.4.0

### Apache Airflow version

2.5.1

### Operating System

Linux

### Deployment

Docker-Compose

### Deployment details

_No response_

### What happened

The templated fields are not working under `task.docker`

```python
@task.docker(image="python:3.9-slim-bullseye", container_name='python_{{macros.datetime.now() | ts_nodash}}', multiple_outputs=True)
def transform(order_data_dict: dict):
    """
    #### Transform task
    A simple Transform task which takes in the collection of order data and
    computes the total order value.
    """
    total_order_value = 0

    for value in order_data_dict.values():
        total_order_value += value

    return {"total_order_value": total_order_value}
```

Will throws error with un-templated `container_name` 

`Bad Request ("Invalid container name (python_{macros.datetime.now() | ts_nodash}), only [a-zA-Z0-9][a-zA-Z0-9_.-] are allowed")`


### What you think should happen instead

All these fields should work with docker operator:

https://airflow.apache.org/docs/apache-airflow-providers-docker/stable/_api/airflow/providers/docker/operators/docker/index.html
```
template_fields: Sequence[str]= ('image', 'command', 'environment', 'env_file', 'container_name')
```

### How to reproduce

with the example above

### Anything else

_No response_

### Are you willing to submit 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)

@task.docker(image="python:3.9-slim", auto_remove="force")
        def f(num_results):
            import random
            return [random.random() for _ in range(num_results)]
        with dag_maker():
            ret = f(50)
        dr = dag_maker.create_dagrun()
        ret.operator.run(start_date=dr.execution_date, end_date=dr.execution_date)
        ti = dr.get_task_instances()[0]
        result = ti.xcom_pull()
        assert isinstance(result, list)
        assert len(result) == 50
    def test_basic_docker_operator_multiple_output(self, dag_maker):
        @task.docker(image="python:3.9-slim", multiple_outputs=True, auto_remove="force")
        def return_dict(number: int):
            return {"number": number + 1, "43": 43}
        test_number = 10
        with dag_maker():
            ret = return_dict(test_number)
        dr = dag_maker.create_dagrun()
        ret.operator.run(start_date=dr.execution_date, end_date=dr.execution_date)
        ti = dr.get_task_instances()[0]
        assert ti.xcom_pull(key="number") == test_number + 1
        assert ti.xcom_pull(key="43") == 43
        assert ti.xcom_pull() == {"number": test_number + 1, "43": 43}
    def test_no_return(self, dag_maker):