Add support for naming docker containers. Use agent.docker_container_name_format to configure the name format (disabled by default) (issue clearml/#412)

Add missing entries in docs/clearml.conf
This commit is contained in:
allegroai
2021-08-12 13:38:26 +03:00
parent 5c5802c089
commit 5e4c495d62
3 changed files with 53 additions and 0 deletions

View File

@@ -197,4 +197,10 @@
enabled: true
extra_keys: []
}
# Name docker containers created by the daemon using the following string format (supported from Docker 0.6.5)
# Allowed variables are task_id, worker_id and rand_string (random lower-case letters string, up to 32 charaters)
# Note: resulting name must start with an alpha-numeric character and continue with a alpha-numeric characters,
# underscores (_), dots (.) and/or dashes (-)
#docker_container_name_format: "clearml-id-{task_id}-{rand_string:.8}"
}