def __init__(self, 
                 container_id=None, 
                 bundle=None,
                 create=True, 
                 sudo=True, **kwargs):
        ''' An Oci Image is an Image Base with OCI functions appended

            Parameters
            ==========
            container_id: image uri to parse (required)
            bundle: a bundle directory to create a container from.
                    the bundle should have a config.json at the root
            create: if the bundle is provided, create a container (default True)
            sudo: if init is called with or without sudo, keep a record and use
                  for following commands unless sudo is provided to function.
        '''
        super(ImageBase, self).__init__()

        # Will typically be None, unless used outside of Client
        self.container_id = container_id
        self.uri = 'oci://'
        self.sudo = sudo

        # If bundle is provided, create it
        if bundle != None and container_id != None and create:
            self.bundle = bundle
            self.create(bundle, container_id, **kwargs)
def __init__ ( self , container_id = None , bundle = None , create = True , sudo = True , ** kwargs ) : super ( ImageBase , self ) . __init__ ( ) self . container_id = container_id self . uri = 'oci://' self . sudo = sudo if bundle != None and container_id != None and create : self . bundle = bundle self . create ( bundle , container_id , ** kwargs )
An Oci Image is an Image Base with OCI functions appended

            Parameters
            ==========
            container_id: image uri to parse (required)
            bundle: a bundle directory to create a container from.
                    the bundle should have a config.json at the root
            create: if the bundle is provided, create a container (default True)
            sudo: if init is called with or without sudo, keep a record and use
                  for following commands unless sudo is provided to function.