def put_container(self, cont):
        try:
            self.conn.put_container(cont)
            return True
        except Exception as exc:
            log.error('There was an error::')
            if hasattr(exc, 'code') and hasattr(exc, 'msg'):
                log.error('    Code: {0}: {1}'.format(exc.code, exc.msg))
            log.error('    Content: \n{0}'.format(getattr(exc, 'read', lambda: str(exc))()))
            return False
Create a new Swift container
dataset/ETHPy150Open saltstack/salt/salt/utils/openstack/swift.py/SaltSwift.put_container