Hey @<1523701087100473344:profile|SuccessfulKoala55> I am not sure this is the case as the instance can checkout code in poetry/pip mode. This issue only happens if I try to run the agent in docker mode. I read in the docs that when you run the agent in docker mode the .
ssh directory of the host is copied to the container under
/root/.ssh so I have the theory that when I am building the custom docker image I don’t end up with a
/root folder (?) I haven’t had the time to debug this yet but if that is the case then this would explain why my container doesn’t have the credentials….
clearml-agent build --id <task-id> --docker <custom-docker> --log-level DEBUG --entry-point reuse_task
and got a similar problem:
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
error: Could not fetch origin