Kaixhin/dockerfiles

Spearmint script?

Kaixhin opened this issue · 1 comments

Spearmint requires several steps to get started; this could probably be reduced to make things smoother (for FGLab for example). Additionally it should be reasonably easy to have a separate MongoDB container. The disadvantage is keeping Spearmint documentation within this project, which requires keeping up to date with any potential API changes.

Pinging @gngdb for feedback on how to approach this.

gngdb commented

Seems like the nicest way for this to work would be a container with an ONBUILD command that adds in the config json, then an interface to communicate suggestions and results between the host; or another container running Spearmint. Then, when running an experiment you could just put a one line Dockerfile in the directory with the config.json. Although, then the script running the experiment wouldn't be compatible with Spearmint's default interface; or to use the container in this way you'd need to have another script that calls the first expecting the traditional spearmint-like interface and handles communication to the container. That would probably be best for making containers with experiments communicating to spearmint containers.