AdventurousButterfly15  The fact that it tries to ping localhost means you are running the ClearML server locally right? In that case, it is a docker thing: it cannot access  localhost  because localhost inside a docker image is not the same one as your machine itself. They're isolated.
That said, adding  --network=host  to the docker command usually fixes this by connecting the container to the local network instead of the internal docker one.
You can add a custom argument either in the webui after you clone (see screenshot) or by using  set_base_docker   https://clear.ml/docs/latest/docs/references/sdk/task#set_base_docker
So normally  task.set_base_docker(docker_arguments='--network=host')  should work. Fingers crossed  🤞
(I don't have a local server available now, but if you want I can try to recreate later)
