> +                      .modules(ImmutableSet.<Module> of(new 
> Log4JLoggingModule(),
> +                                                        new 
> SshjSshClientModule()))
> +                      .buildView(ComputeServiceContext.class);
> +ComputeService client = context.getComputeService();
> +
> +String sshableImageId = "your-sshable-image-id"; // this can be obtained 
> using `docker images --no-trunc` command
> +Template template = client.templateBuilder().imageId(sshableImageId).build()
> +
> +// run a couple nodes accessible via group container
> +Set<? extends NodeMetadata> nodes = client.runNodesInGroup("container", 2, 
> template);
> +
> +// release resources
> +context.close();
> +{% endhighlight %}
> +
> +As you would have expected for any other jclouds API.

Instead of saying this, could you explain a bit what the code above will do? 
Users may wonder what that `"container"` string is, and how containers will be 
created.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/110/files#r14639948

Reply via email to