'@inherits: :class:`StorageDriver.create_container`'

def create_container(self, container_name):

    params = {'restype': 'container'}
    container_path = ('/%s' % container_name)
    response = self.connection.request(container_path, params=params, method='PUT')
    if (response.status == httplib.CREATED):
        return self._response_to_container(container_name, response)
    elif (response.status == httplib.CONFLICT):
        raise ContainerAlreadyExistsError(value='Container    with    this    name    already    exists.    The    name    must    be    unique    among    all    the    containers    in    the    system', container_name=container_name, driver=self)
    elif (response.status == httplib.BAD_REQUEST):
        raise InvalidContainerNameError(value=('Container    name    contains    ' + 'invalid    characters.'), container_name=container_name, driver=self)
    raise LibcloudError(('Unexpected    status    code:    %s' % response.status), driver=self)
