> +      
> builder.operatingSystem(OperatingSystem.builder().description("linux").family(OsFamily.LINUX).build());
> +      return builder.build();
> +   }
> +
> +   private String cleanUpName(String name) {
> +      return name.startsWith("/") ? name.substring(1) : name;
> +   }
> +
> +   private Iterable<String> getPrivateIpAddresses(Container container) {
> +      if (container.getNetworkSettings() == null) return ImmutableList.of();
> +      return ImmutableList.of(container.getNetworkSettings().getIpAddress());
> +   }
> +
> +   private List<String> getPublicIpAddresses() {
> +      String dockerIpAddress = 
> URI.create(providerMetadata.getEndpoint()).getHost();
> +      return ImmutableList.of(dockerIpAddress);

this seems to be the default right now. Docker is running fast so probably this 
could change in next versions ...

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

Reply via email to