Open Chelovek760 opened 2 months ago
This means the volume mount - ./config/clearml.conf:/root/clearml.conf
is pointing to a directory, not a file
@jkhenning could you please suggest the correct way to transfer the configuration?
I found a solution - you need to mount tmp in the agent container
services:
clear-ml-agent:
env_file:
- .env
build:
context: .
command: daemon --queue default --docker --foreground
runtime: nvidia
privileged: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./config/clearml.conf:/root/clearml.conf
- /tmp:/tmp
Now dind not working
After worker container build raise error
cp: -r not specified; omitting directory '/tmp/clearml.conf'
Dockerfile
docker compose
Maybe there is a solution to this problem?