Add extra docker parameters bash script to use when running an experiment using a docker image

This commit is contained in:
allegroai
2020-01-13 12:17:59 +02:00
parent c1d91b0d6a
commit a9f479cfcd
3 changed files with 35 additions and 1 deletions

View File

@@ -83,6 +83,13 @@ agent {
# apt cache folder used mapped into docker, for ubuntu package caching
docker_apt_cache = ~/.trains/apt-cache
# optional arguments to pass to docker image
# these are local for this agent and will not be updated in the experiment's docker_cmd section
# extra_docker_arguments: ["--ipc=host", ]
# optional shell script to run in docker when started before the experiment is started
# extra_docker_shell_script: ["apt-get install -y bindfs", ]
# set to true in order to force "docker pull" before running an experiment using a docker image.
# This makes sure the docker image is updated.
docker_force_pull: false