Unanswered
Hello, I Am Trying To Run A Task In An Ec2 Worker With The Respective Agent In Docker Mode. I Am Using A Custom Docker Image.
The Agent Is Configured To Use Ssh Authentication To Checkout The Code From Github (And It Does Check It Out In Pip/Poetry Mode)
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….
150 Views
0
Answers
one year ago
one year ago