You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,3 +65,29 @@ Download files from the published dataset with DOI doi:10.5072/FK2/B7LCCX in htt
65
65
```
66
66
dva download doi:10.5072/FK2/B7LCCX data --url https://datacommons.tdai.osu.edu/
67
67
```
68
+
69
+
## Docker and Singularity Support
70
+
A Docker image is built for each release of `dataverse-access` that can be used with both [Docker](https://www.docker.com/) and [Singularity/Apptainer](https://apptainer.org/). The images are available at [ghcr.io/imageomics/dataverse-access](https://github.com/Imageomics/dataverse-access/pkgs/container/dataverse-access). The images are tagged with the version of each release.
71
+
72
+
### Docker Download Example
73
+
The following example downloads files into a `data` subdirectory of the current working directory:
74
+
```
75
+
docker run \
76
+
-v $(pwd)/data:/data \
77
+
-it ghcr.io/imageomics/dataverse-access \
78
+
dva download doi:10.5072/FK2/B7LCCX /data --url https://datacommons.tdai.osu.edu/
79
+
```
80
+
To persist downloaded files when using Docker typically requires mounting a volume.
81
+
The above example uses the [-v docker argument](https://docs.docker.com/storage/volumes/#choose-the--v-or---mount-flag) to mount a `data` subdirectory within the current working directory as `/data` in the container.
82
+
83
+
### Singularity/Apptainer Download Example
84
+
The following example downloads files into a `data` subdirectory of the current working directory:
85
+
```
86
+
singularity run docker://ghcr.io/imageomics/dataverse-access \
87
+
dva download doi:10.5072/FK2/B7LCCX data --url https://datacommons.tdai.osu.edu/
88
+
```
89
+
Since singularity typically will mount the current working directory the above command does not mount any extra directories.
90
+
For help on mounting directories with the singularity command see the [singularity path binding documentation](https://apptainer.org/docs/user/main/bind_paths_and_mounts.html#user-defined-bind-paths).
91
+
92
+
## Versioning
93
+
Releases of dataverse-access follow [Semantic Versioning](https://semver.org/). Semantic versioning only applies to the `dva` command line interface and not the underlying python code.
0 commit comments