code: def remove(self, container, instances=None, map_name=None, **kwargs):
          
          return self.run_actions('remove', container, instances=instances, map_name=map_name, **kwargs)
docs: Remove instances from a container configuration.
  
          :param container: Container name.
          :type container: unicode | str
          :param instances: Instance names to remove. If not specified, will remove all instances as specified in the
           configuration (or just one default instance).
          :type instances: collections.Iterable[unicode | str | NoneType]
          :param map_name: Container map name. Optional - if not provided the default map is used.
          :type map_name: unicode | str
          :param kwargs: Additional kwargs. If multiple actions are resulting from this, they will only be applied to
            the main container removal.
          :return: Return values of removed containers.
          :rtype: list[dockermap.map.runner.ActionOutput]