code: public ContainerInstance add(Container container, boolean replicateContainerRelationships) {
          ContainerInstance containerInstance = getModel().addContainerInstance(this, container, replicateContainerRelationships);
          this.containerInstances.add(containerInstance);
  
          return containerInstance;
      }
docs: Adds a container instance to this deployment node, optionally replicating all of the container-container relationships.
  
  @param container                         the Container to add an instance of
  @param replicateContainerRelationships   true if the container-container relationships should be replicated between the container instances, false otherwise
  @return  a ContainerInstance object