Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
A Question About Ssh Keys Mount To A Clearnl-Agent Running In Docker Mode. I Noticed That Only When The Task Is Created And Enqueued (Using Python Script), The Local .Ssh Folder Will Be Bind With The Container, But If I Later Reset (Or Clone) And Enqueue

A question about ssh keys mount to a clearnl-agent running in docker mode.
I noticed that only when the task is created and enqueued (using python script), the local .ssh folder will be bind with the container, but if I later reset (or clone) and enqueue the task manually (in the UI), that -v /tmp/copy/of/.ssh:/root/.ssh is missing.
Am I missing something?

  
  
Posted 2 years ago
Votes Newest

Answers 8


Its mounted automatically.
The local .ssh folder is copied to a temp folder which is mounted by the agent in the docker run command -
Executing: ['docker', 'run', '-t', ......., '-v', '/tmp/clearml_agent.ssh.fuu4r8ta:/root/.ssh', .... , '--rm', 'nvidia/cuda:10.1-cudnn7-runtime-ubuntu18.04', ....]

  
  
Posted 2 years ago

Hi CostlyOstrich36 CrookedWalrus33 AgitatedDove14
When I init an agent and run a task it works, but when I run the same task again it does not map the keys..

  
  
Posted 2 years ago

CrookedWalrus33
Force SSH git authentication, it will auto mount the .ssh from the host to the docker
https://github.com/allegroai/clearml-agent/blob/6c5087e425bcc9911c78751e2a6ae3e1c0640180/docs/clearml.conf#L25

  
  
Posted 2 years ago

How do you normally mount the ssh keys?

  
  
Posted 2 years ago

The first run:

  
  
Posted 2 years ago

Thanks

  
  
Posted 2 years ago

The second run:

  
  
Posted 2 years ago

but when I run the same task again it does not map the keys.. (edited)

SparklingElephant70 what do you mean by "map the keys" ?

  
  
Posted 2 years ago
681 Views
8 Answers
2 years ago
one year ago
Tags