On 04-Jun-16 11:39, Stian Soiland-Reyes wrote:
Hi!


[snip]

What is the Docker API for setting up a container? Do you need to pull the
images first?

That is in the REST API referenced by Nadeesh - https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/

It would be cool if we can pull at the beginning of a
workflow run (e.g. asynchronously when an Activity is configured) so that
does not need to delay execution at a later step.

It may be worth checking with the Insigneo people from Sheffield who do something analogous for VMs created to run services for workflows.

We will probably need a volume mount of a temporary directory, so that
input and output files can be provided to the command, but if you prefer it
might be easier to start with stdin and stdout support; similar to the Tool
Activity.

Alan

Reply via email to