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 4 months ago
Votes Newest

Answers 12


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

image

  
  
Posted 4 months ago

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

  
  
Posted 4 months ago

Which are appended to any existing argument

  
  
Posted 4 months 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 4 months ago

yes it does

  
  
Posted 4 months 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 4 months ago

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

  
  
Posted 4 months ago

Neat - it works ! Thanks for the quick response 🚀

  
  
Posted 4 months ago

All right - make sense !

  
  
Posted 4 months ago

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

  
  
Posted 4 months ago

I’ll try this

  
  
Posted 4 months ago
241 Views
12 Answers
4 months ago
4 months ago
Tags