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
Hi I'M Trying To Clearml-Agent In My Dockerfile, But Even After Copying The Clearml.Conf To My Dockerfile Working Dir, The Clearlml Agent Does Not Start, Throwing Error Couldn'T Find ~/Clearlml.Conf How Do I Resolve This?

I'm trying to clearml-agent in my dockerfile, but even after copying the clearml.conf to my dockerfile working dir, the clearlml agent does not start, throwing error couldn't find ~/clearlml.conf
How do I resolve this?

Posted one year ago
Votes Newest

Answers 5

Where is the clearml.conf file located inside the docker container? What user are you running as inside the docker container?

Posted one year ago

I'm trying to copy it to the home of docker container

Posted one year ago

FROM ubuntu:20.04

WORKDIR /usr/agent

COPY . /usr/agent

RUN apt-get update

RUN apt-get dist-upgrade -y

RUN apt-get install -y curl python3-pip git

RUN curl -sSL https://get.docker.com/ | sh

RUN python3 -m pip install -U pip

RUN python3 -m pip install clearml-agent

RUN python3 -m pip install -U "cryptography>=2.9"

COPY clearml.conf ~/clearml.conf


CMD clearml-agent daemon --cpu-only

Posted one year ago

Hi TenderCoyote78

I'm trying to clearml-agent in my dockerfile,

I'm not sure I'm following, Are you traying to create a docker container containing the agent inside? for what purpose ?
(notice that the agent can spin any off the shelf container, there is no need to add the agent into the container it will take of itself when it is running it)

Specifically to your docker file:

RUN curl -sSL

| sh

No need for this line

COPY clearml.conf ~/clearml.conf

Try the absolute path :
COPY clearml.conf /root/clearml.conf

Posted one year ago

This is my docker file

Posted one year ago
5 Answers
one year ago
one year ago