And How can I add setting about docker to clearml.conf? or for separated experiments in different docker container I need to use different clearml.conf with different api credentials?
Hi UnevenOstrich23
if --docker is enable that will means every new experiments will be executed into dedicated agent worker containers?
Correct
I think the missing part is how to specify the docker for the experiment?
If this is the case, in the web UI, clone your experiment (which will create a draft copy, that you can edit), then in the Execution tab, scroll down to the "base docker image" and specify the docker image to use.
Notice that you can also add flags after the docker image, for example:nvcr.io/nvidia/pytorch:20.11-py3 -v /home/folder:/root/folder
Thank you, Thats became a bit clear. But if I run agent already for docker container? how works --docker option for that case?
Ohh then you do docker sibling:
Basically you map the docker socket into the agent's docker , that lets the agent launch another docker on the host machine.
You cab see an example here:
https://github.com/allegroai/clearml-server/blob/6434f1028e6e7fd2479b22fe553f7bca3f8a716f/docker/docker-compose.yml#L144