docs: def create(self, template=None, flags=0, args=()):
          """
              Create a new rootfs for the container.
  
              "template" if passed must be a valid template name.
  
              "flags" (optional) is an integer representing the optional
              create flags to be passed.
  
              "args" (optional) is a tuple of arguments to pass to the
              template. It can also be provided as a dict.
          """
  
          if isinstance(args, dict):
              template_args = []
              for item in args.items():
                  template_args.append("--%s" % item[0])
                  template_args.append("%s" % item[1])
          else:
              template_args = args
  
          if template:
              return _lxc.Container.create(self, template=template,
                                           flags=flags,
                                           args=tuple(template_args))
          else:
              return _lxc.Container.create(self, flags=flags,
                                           args=tuple(template_args))