private MBeanServer mbeanServer;
private ObjectName objectName;
private DockerFacade mbean;
private DockerFactory dockerFactory = new DockerFactory();
private Docker docker;
<BUG>private int externalPortCounter;
public static CreateDockerContainerMetadata newInstance(ContainerConfig containerConfig, ContainerCreateStatus status) {</BUG>
List<String> warnings = new ArrayList<String>();
String[] warningArray = status.getWarnings();
if (warningArray != null) {

private MBeanServer mbeanServer;
private ObjectName objectName;
private DockerFacade mbean;
private DockerFactory dockerFactory = new DockerFactory();
private Docker docker;
private int externalPortCounter;
private final ExecutorService downloadExecutor = Executors.newSingleThreadExecutor();
public static CreateDockerContainerMetadata newInstance(ContainerConfig containerConfig, ContainerCreateStatus status) {
List<String> warnings = new ArrayList<String>();
String[] warningArray = status.getWarnings();
if (warningArray != null) {
