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
Hello Everyone, I Am Seeking For A Tutorial To Start A Task Remotely By The Agent While Specifying A Specific Docker Image As Environment. I Tried To Find An Example On The Github But No Luck There. While Reading The Documentation, I Came Across

Hello Everyone, I am seeking for a tutorial to start a task remotely by the agent while specifying a specific docker image as environment. I tried to find an example on the github but no luck there. While reading the documentation, i came across set_base_docker method for Task object. Does anyone has a snippet for this ?

  
  
Posted 10 months ago
Votes Newest

Answers 6


While creating task you can pass docker parameter to specify the image. For example "Task.create(docker=yourcustomimage)"

  
  
Posted 10 months ago

Thank you, i will look into this ! I suppose the image should be pushed to a centralised docker registry ?

  
  
Posted 10 months ago

You can push it to central registry or just load it in the clearml-agent machine. Agent will create a container from this image.

  
  
Posted 10 months ago

If you push it to the central registry be sure that agent machine should be able to pull image from central registry.

  
  
Posted 10 months ago

Thank you a lot ! Do you know if this can be achieved using task.init ? i would like to keep the automatic logging

  
  
Posted 10 months ago

Hi @<1660817806016385024:profile|FantasticMole87> , you should have Task.init() regardless of set_base_docker. But it appears you can't set it in Task.init

  
  
Posted 10 months ago
742 Views
6 Answers
10 months ago
10 months ago
Tags