def add_volume(self, hostpath, contpath, options=None):
        '''Add a volume (bind-mount) to the docker run invocation
        '''
        if options is None:
            options = []
        self.volumes.append((hostpath, contpath, options))
def add_volume ( self , hostpath , contpath , options = None ) : if options is None : options = [ ] self . volumes . append ( ( hostpath , contpath , options ) )
Add a volume (bind-mount) to the docker run invocation