3 ms·
I could see using an entry point for that. The entry point script could take as an argument the experiment to run and then the docker command would be: docker r
by theossuary 8y ago
I could see using an entry point for that. The entry point script could take as an argument the experiment to run and then the docker command would be: docker run -ti experiments:latest experiment-1
I could also see creating a base dockerfile, and a dockerfile per experiment. The base docker file would do the setup, and the experiment docker files would just run the commands necessary to reproduce the experiment, and exit.