lingua-franca icon indicating copy to clipboard operation
lingua-franca copied to clipboard

Docker support should include orchestration on multiple nodes

Open petervdonovan opened this issue 1 year ago • 2 comments

We discussed this yesterday and seemed to agree that generating Ansible scripts is an appealing possible solution.

As an easy first step, and as an escape hatch in case someone wants to use an orchestration tool that we do not (yet) support, it might be helpful to provide an easy way to run docker build or docker buildx on all the generated Dockerfiles, and also to output a list of the names of all the resulting images. This way, the resulting images are all available on the user's system, and they can then be used in a mostly non-LF-specific external workflow that works with local Docker images.

petervdonovan avatar Jan 18 '24 01:01 petervdonovan

We could just run docker compose build. And put docker compose up in the generated binary. Would that address this?

lhstrh avatar Jan 23 '24 09:01 lhstrh

I am not sure due to my lack of Docker expertise, but judging from the documentation it looks like that might solve this, yes.

petervdonovan avatar Jan 24 '24 06:01 petervdonovan