add_docker_metadata has been migrated to ECS (#9412) and docker autodiscover is going to be migrated too (#10757). For this, all docker.container.* fields except docker.container.labels are aliases now to container.* fields. We should migrate also the metricbeat docker module so it doesn't try to write to the old fields.