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 Community, I’M Trying To Containerize A Task Using Clearml-Agent Build, Following Instructions From The Docs Online. The Task Runs To Completion And Gives A Local Path To The Committee Container, But There’S No Image Or Container Created That I Ca

Hello community,

I’m trying to containerize a task using clearml-agent build, following instructions from the docs online.

The task runs to completion and gives a local path to the committee container, but there’s no image or container created that I can see. There’s also nothing at that local path. I noticed a couple other folks with the same issue a while back with no apparent resolution.

Any suggestions?

  
  
Posted 7 months ago
Votes Newest

Answers 3


Hi @<1618780810947596288:profile|ExuberantLion50>

I’m trying to containerize a task using clearml-agent build, following instructions from the docs online.

Do you mean to create a container with the Task's environment for debugging ?
If this is for running the Task there is no need to create a specific container for it, both code and python env are cached.

  
  
Posted 7 months ago

yes, specifically i'm following this: None

I'm getting lot of bizarre errors running without a docker image attached (still haven't gotten through all the issues in docker but i'm getting a lot further). For example, running the exact same pipeline in docker mode completes the first step fine but without docker i'm getting this:
virtualenv: error: argument dest: the destination . is not write-able at /home/david/.clearml/venvs-builds/3.10
SystemExit: 2
clearml_agent: ERROR: Command '['python3.10', '-m', 'virtualenv', '/home/david/.clearml/venvs-builds/3.10']' returned non-zero exit status 2.

  
  
Posted 7 months ago

I'm getting lot of bizarre errors running without a docker image attached

I think there is a mix in terminology
ClearML Agent can run in two different modes:

  • virtual env - where it create a new venv for every Task executed
  • docker mode- where it spins a docker as Base environment, then inside the docker (in real time) it will fetch the code, install missing python packages etc.There is no need to build a specific docker container, for example you can use the "python:3.10-bullseye" docker from dockerhub as a base docker for the Task (just set it in the Tasks execution section in the UI) , or from code via task.set_base_docker
    wdyt?
  
  
Posted 7 months ago
796 Views
3 Answers
7 months ago
7 months ago
Tags