On 10-Jun-16 02:49, Nadeesh Dilanga wrote:
Hi Stian,
Following API can be used to attach to a remote Docker. Refer "Attach to a
container" for more details.
POST /containers/(id or name)/attach
Ok, it make sense to read it from some sort of a configuration instead from
the input JSON for the activity plugin. Inside an activity plugin, how can
I access this configuration ?
The activity plugin has a DockerContainerConfiguration injected by the
Spring configuration. You would need a setDockerContainerConfigfuration
method. For simplicity, you can have the dockerContainerConfiguration
field as static.
@Stian - does that sound reasonable ?
Alan