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
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
ENV CLEARML_DOCKER_SKIP_GPUS_FLAG=1
CMD clearml-agent daemon --cpu-only
I'm trying to copy it to the home of docker container
Where is the clearml.conf file located inside the docker container? What user are you running as inside the docker container?