o2r-project / erc-spec

Executable Research Compendium specification and guides
https://o2r.info/erc-spec/
Creative Commons Zero v1.0 Universal
7 stars 5 forks source link

Update and clarify Docker #18

Open nuest opened 7 years ago

nuest commented 7 years ago

Re-check that the export and import can use the ERC identifier as it is in the spec.

nuest commented 7 years ago
execution:
  prepare: `docker load --input image.tar`
  start: `docker run -it -e TZ=CET erc:b9b0099e-9f8d-4a33-8acf-cb0c062efaec`

Then, we cannot list all possible options of docker run or prohibit all of them... maybe the Docker run command should not be put here, but instead a well-defined list of it's inputs. Then, an implementation can easily create the run command including all the other options it may want to use (like performance options etc.).

The latter approach would also be better as not explicitly putting in docker load and docker run means users cannot expect us to list docker rm and docker rmi as well!