Doker run dometricbeat:8.17.0 failed

This is execute command:

docker run --network elk elastic/metricbeat:8.17.0 setup -E setup.ilm.overwrite=true -E setup.kibana.host=kibana:5601 -E output.elasticsearch.hosts=["xxxxxxxxx:9200"] -E output.elasticsearch.username=elastic -E output.elasticsearch.password=wl123456

But it failed, kibana and elasticsearch is healthy

Index setup finished.
Loading dashboards (Kibana must be running and reachable)
SDK 2025/02/08 11:19:13 WARN falling back to IMDSv1: operation error ec2imds: getToken, http response error StatusCode: 404, request to EC2 IMDS failed