code: public void createContainer(String container) {
  
          ContainerController controller = this.platformContainers.get(container);
          if (controller == null) {
  
              // TODO make this configurable
              Profile p = new ProfileImpl();
              p.setParameter(Profile.PLATFORM_ID, PLATFORM_ID);
              p.setParameter(Profile.MAIN_HOST, MAIN_HOST);
              p.setParameter(Profile.MAIN_PORT, MAIN_PORT);
              p.setParameter(Profile.LOCAL_HOST, MAIN_HOST);
              int port = Integer.parseInt(MAIN_PORT);
              port = port + 1 + this.platformContainers.size();
              p.setParameter(Profile.LOCAL_PORT, Integer.toString(port));
              p.setParameter(Profile.CONTAINER_NAME, container);
              logger.fine("Creating container " + container + "...");
              ContainerController agentContainer = this.runtime
                      .createAgentContainer(p);
              this.platformContainers.put(container, agentContainer);
              logger.fine("Container " + container + " created successfully.");
          } else {
              logger.fine("Container " + container + " is already created.");
          }
  
      }
docs: Create a container in the platform
  
  @param container
  The name of the container