DockerHostLocation hostLoc = dockerHost.getDynamicLocation();
DockerContainerLocation containerLoc = hostLoc.obtain();
DockerContainer container = (DockerContainer) Iterables.getOnlyElement(dockerHost.getDockerContainerList());
assertNotNull(container);
hostLoc.release(containerLoc);
assertTrue(dockerHost.getDockerContainerList().isEmpty(), "containers="+dockerHost.getDockerContainerList());
//assertMembersEqualEventually(dockerInfrastructure.getContainerFabric(), ImmutableSet.<Entity>of());
}
private void assertMembersEqualEventually(final Group group, final Iterable<? extends Entity> entities) {