code: private Container createContainer(final FedoraSession session, final String path) {
          try {
              final Node node = findOrCreateNode(session, path, NT_FOLDER);
  
              if (node.canAddMixin(FEDORA_RESOURCE)) {
                  node.addMixin(FEDORA_RESOURCE);
                  node.addMixin(FEDORA_CONTAINER);
              }
  
              return new ContainerImpl(node);
          } catch (final RepositoryException e) {
              throw new RepositoryRuntimeException(e);
          }
      }
docs: /*
  Creates a minimal container node for further population elsewhere