datalad containers-list


datalad containers-list [-h] [-d DATASET] [-r] [--contains PATH] [--version]


List containers known to a dataset


-h, –help, –help-np

show this help message. –help-np forcefully disables the use of a pager for displaying the help message

-d DATASET, –dataset DATASET

specify the dataset to query. If no dataset is given, an attempt is made to identify the dataset based on the current working directory. Constraints: Value must be a Dataset or a valid identifier of a Dataset (e.g. a path)

-r, –recursive

if set, recurse into potential subdataset.

–contains PATH

when operating recursively, restrict the reported containers to those from subdatasets that contain the given path (i.e. the subdatasets that are reported by datalad subdatasets –contains=PATH). Top-level containers are always reported.


show the module and its version which provides the command


datalad is developed by The DataLad Team and Contributors <>.