Unanswered
Automatic Ssh Keys Export To Agent In Docker Mode
Hi Martin.
I think a proper place would be somewhere in https://clear.ml/docs/latest/docs/clearml_agent#execution
And one more question - I have compared two docker commands - 1st without cleaning SSH_AUTH_SOCK
It's portion regarding SSH mount looks like this:'-v', '/tmp/ssh-XXXXXXnfYTo5/agent.8946:/tmp/ssh-XXXXXXnfYTo5/agent.8946', '-e', 'SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnfYTo5/agent.8946'
To me all seems to be correct it maps temporary folder with ssh keys and points SSH_AUTH_SOCK to it
And 2nd with cleaning SSH_AUTH_SOCK - there's only mapping present and that works just fine.'-v', '/tmp/clearml_agent.ssh.kiwjbp6z:/home/testuser/.ssh'
So my point is that both should work but only the latter does.
170 Views
0
Answers
2 years ago
one year ago