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 Want To Run Clearml-Agent Inside A Docker Container. With The Default Image In My Clearml.Conf File, It Is "Image: "Nvidia/Cuda:11.0.3-Cudnn8-Runtime-Ubuntu20.04", How Do I Run The Agent In Docker Mode And See The Worker Running In The Clearml Ui

Hi. I want to run clearml-agent inside a docker container. with the default image in my clearml.conf file, it is "image: "nvidia/cuda:11.0.3-cudnn8-runtime-ubuntu20.04", how do i run the agent in docker mode and see the worker running in the clearml UI

  
  
Posted one month ago
Votes Newest

Answers 8


I have added a custom docker file along with the dependencies required for my repository. I was able to run the agent in docker mode using this custom docker file

  
  
Posted one month ago

from: None

  
  
Posted one month ago

ColossalHawk50 , you basically run the agent outside of a docker container and then use the --docker flag to run it in docker mode. Makes sense?

  
  
Posted one month ago

It is working now. Thanks

  
  
Posted one month ago

i had created a new task from the clearml web ui by pulling the code from git and ran it in a clearml-agent in normal mode (clearml-agent daemon --queue default) and it worked fine. but the same code when i run using the --docker flag is not working. (clearml-agent daemon --queue default --docker)

  
  
Posted one month ago

you can either:

  • Build an image from your docker file and when running the task/experiment, tell it to use that docker image
  • If the steps to install dependencies required for your repository is not too complicate, then you can use agent.extra_docker_shell_script in the clearml.conf in order to install all the dependencies inside the docker container launched by clearml in docker mode.
    image
  
  
Posted one month ago

Is this the same issue as per here ?
In which case, can you make your script run using that docker container nvidia/cuda:11.0.3-cudnn8-runtime-ubuntu20.04 , manually, without ClearML ?
What change did you do to make it worked ? Does updating python enough ?

  
  
Posted one month ago

clearml_agent: ERROR: Command '['/root/.clearml/venvs-builds/3.10/bin/python', '-m', 'pip', '--disable-pip-version-check', 'install', '-r', '/tmp/requirements_alb8_42l.txt', '--use-deprecated=legacy-resolver']' returned non-zero exit status 1.

This is the error log I am getting. Should i upgrade the python version? if yes, how do i make changes in the clearml.conf file

  
  
Posted one month ago
213 Views
8 Answers
one month ago
one month ago
Tags
Similar posts