Also, on the ClearML dashboard, I can see the
clearml-agent
log:
Is the clearml-agent running in docker mode ?
clearml-agent --docker
Oh thanks. clearml-agent --help
did not show the docker option, but clearml-agent daemon --help
does, so I did not see it
Is the clearml-agent running in docker mode ?
How do you run the clearml-agent
in docker mode? You execute the clearml-session
in Docker mode?
Hi GracefulDog98
Any guess why the password is "incorrect" for me?
Basically the clearml-session CLI needs to be able to access (SSH) into the host (cleaml-agent) machine,
is that possible?
How do you run the
clearml-agent
in docker mode
clearml-agent --docker
See here:
https://clear.ml/docs/latest/docs/clearml_agent#docker-mode
I execute the
clearml-session
with
--docker
flag.
This is to control the docker image the agent will spin for you (think dev enviroment you want to work in, like nvidia pytorch container already having everything you need)
In the log for clearml-agent
I can see the following, where <my_container>
is the container:docker_cmd = <my_container>:latest --network host entry_point = interactive_session.py working_dir = . Using base prefix '/usr/local' New python executable in /home/<user>/.clearml/venvs-builds/3.7/bin/python3.7 Also creating executable in /home/<user>/.clearml/venvs-builds/3.7/bin/python Installing setuptools, pip, wheel... done. 2021-08-04 16:50:03 Collecting pip<20.2 Using cached pip-20.1.1-py2.py3-none-any.whl (1.5 MB)
But there's no log shown for pulling the container, and it seems to be using the local build. Why is that?
Thanks for the link. The only difference is that I execute the clearml-session
with --docker
flag. That seemed to be the issue in the post above?