That --docker_args
seems to be for clearml-task
as described here , while you are using clearml-agent
which is a different thing
Answered
Hi Everyone,
I’M Testing Clearml And Encountered An Issue When Launching The Agent In Docker-Mode: It Seems To Ignore Additional Docker Arguments. For Example, When I Run:
Hi everyone,
I’m testing ClearML and encountered an issue when launching the agent in docker-mode: it seems to ignore additional Docker arguments. For example, when I run:
clearml-agent daemon \
--queue default \
--docker local-main:v1 \
--docker_args "--network host"
I receive the following error:
usage: clearml-agent [-h] [--help] [--version] [--config-file CONFIG_FILE] [--debug]
{execute,build,list,daemon,config,init} ...
clearml-agent: error: unrecognized arguments: --docker_args --network host
However, the documentation indicates that Docker arguments should be added as follows:
Add Docker arguments. Pass a single string in the following format: –docker_args "<argument_string>". For example: –docker_args "-v some_dir_1:other_dir_1 -v some_dir_2:other_dir_2"
Has anyone encountered this issue and found a workaround or solution? Any help would be greatly appreciated!
62 Views
1
Answer
9 days ago
8 days ago
Tags