> +
> +      if (templateOptions.getCommands().isPresent()) {
> +         containerConfigBuilder.cmd(templateOptions.getCommands().get());
> +      }
> +
> +      if (templateOptions.getMemory().isPresent()) {
> +         containerConfigBuilder.memory(templateOptions.getMemory().get());
> +      }
> +
> +      if (templateOptions.getCpuShares().isPresent()) {
> +         
> containerConfigBuilder.cpuShares(templateOptions.getCpuShares().get());
> +      }
> +
> +      if (templateOptions.getVolumes().isPresent()) {
> +         Map<String, Object> volumes = Maps.newLinkedHashMap();
> +         for (String containerDir : 
> templateOptions.getVolumes().get().values()) {

I missed the `HostConfig` setup a few lines later, which *does* do the host 
binding. We don't yet distinguish between RW and RO bindings, but that is a 
future enhancement probably.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/57/files#r14485991

Reply via email to