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
Hi I Have An Issue With The Clearml-Agent In Docker Mode. I Am Trying To Mount Additional Stuff In The Container Via Sur Default Via The Agent.Default_Docker.Arguments - Namely The Docker Socket. I See

Hi
I have an issue with the clearml-agent in docker mode. I am trying to mount additional stuff in the container via sur default via the agent.default_docker.arguments - namely the docker socket.
I see Running in Docker mode (v19.03 and above) - using default docker image: eu.gcr.io/outboard/pipeline_broker:prod-4.3.0 ['-l', 'app=outflier', '-v', '/var/run/docker.sock:/var/run/docker.sock', '-v', '/root/.docker/config.json:/root/.docker/config.json'] so it looks like it get the additional arguments but the resulting container do not have the additional mount. Is there something I am missing ?

  
  
Posted one year ago
Votes Newest

Answers 12


python3 -m clearml_agent --config-file clearml.conf daemon --foreground --queue services --service --docker --cpu-only

  
  
Posted one year ago

All right - make sense !

  
  
Posted one year ago

image

  
  
Posted one year ago

Hi @<1523715429694967808:profile|ThickCrow29> , how exactly are you running the agent (the exact command line)?

  
  
Posted one year ago

yes it does

  
  
Posted one year ago

Which are appended to any existing argument

  
  
Posted one year ago

Neat - it works ! Thanks for the quick response 🚀

  
  
Posted one year ago

In that case, this will be taken instead of the the default docker set on the agent. the default docker options are only applied when the task has no container information at all

  
  
Posted one year ago

And the task you are trying to run, does it have any specific docker image specified in the container section? (you can see in the UI under execution/container)

  
  
Posted one year ago

If you want to add additional docker argument (regardless if the task has any docker image specirfied), use agent.extra_docker_arguments

  
  
Posted one year ago

root@clement-controller-1:~# head clearml.conf
agent {
default_docker {
arguments: ["-v","/var/run/docker.sock:/var/run/docker.sock"]
}}
  
  
Posted one year ago

I’ll try this

  
  
Posted one year ago
810 Views
12 Answers
one year ago
one year ago
Tags