Crandore Hub

rirods

R Client for 'iRODS'

The open sourced data management software 'Integrated Rule-Oriented Data System' ('iRODS') offers solutions for the whole data life cycle (<https://irods.org/>). The loosely constructed and highly configurable architecture of 'iRODS' frees the user from strict formatting constraints and single-vendor solutions. This package provides an interface to the 'iRODS' HTTP API, allowing you to manage your data and metadata in 'iRODS' with R. Storage of annotated files and R objects in 'iRODS' ensures findability, accessibility, interoperability, and reusability of data.

README

# irods_demo

This repository provides a docker-compose project designed to easily stand up a **DEMONSTRATION** of the iRODS server and a few of its clients.  It is intended for education and exploration.

**DO NOT USE IN PRODUCTION.**

## Requirements

- docker
- docker compose

A minimal configuration will have:

- 2 CPUs
- 4 GB RAM
- 10 GB storage

## Run

If you have not initialized submodules in this repo, run the following before attempting to start the Compose project:
```
$ git submodule update --init
```
`git submodule update` should be run any time the submodule is updated, so make sure to run it any time you pull or checkout different commits.

To run all services:
```bash
$ docker compose up
```

To run an individual service (and all services on which it depends):
```bash
$ docker compose up <service-name>
```

For example, this command will spawn containers for the following services:

1. `irods-catalog`
2. `irods-catalog-provider`
3. `irods-client-rest-cpp`
4. `nginx-reverse-proxy`
5. `irods-client-zmt`

```bash
$ docker compose up irods-client-zmt
```

For more information about Compose CLI options, see Docker Compose documentation: https://docs.docker.com/engine/reference/commandline/compose

## Notes for services

### `irods-client-zmt` / Zone Management Tool / ZMT

The ZMT service assumes that containers are running on the same host as the browser. If this is not the case (launching irods_demo via ssh, etc.), the value of `REACT_APP_REST_API_URL` should be changed to an address which correctly maps to the `nginx-reverse-proxy` service and that is reachable by both the ZMT service and the host running the browser.

```diff
-            - REACT_APP_REST_API_URL=http://localhost/irods-rest/x.x.x
+            - REACT_APP_REST_API_URL=http://<public-hostname-or-ip>/irods-rest/x.x.x
```

### `irods-client-nfsrods` / NFSRODS

Once the service is running, the NFS server needs to be accessed from a mountpoint. This can be done with the following command:
```bash
$ sudo mount -o sec=sys,port=2050 localhost:/ ./irods_client_nfsrods/nfs_mount
```
The hostname can also be the IP address of the container providing the service in the `irods-demo_default` Docker network if running from the same host. The mountpoint can exist on any other machine which can reach the host running the container providing the service because the port is being exposed, in which case the FQDN or IP address for the host machine can be used. For more information about mounting NFSRODS, see the README for the project: https://github.com/irods/irods_client_nfsrods#mounting

When you are ready to stop the service, it would be a good idea to unmount first. This can be done by running the following:
```bash
$ sudo umount ./irods_client_nfsrods/nfs_mount
```

The NFSRODS service maps the `/etc/passwd` file on the host machine to the `/etc/passwd` file in the container providing the service. The user(s) accessing the mountpoint will need to exist as iRODS users as well in order to be able to interact with the mountpoint. This can be done by running the following command on the host machine for each `username` which needs to be mapped:
```bash
$ docker exec irods-demo-irods-client-icommands-1 iadmin mkuser <username> rodsuser
```

Versions across snapshots

VersionRepositoryFileSize
0.2.0 rolling linux/jammy R-4.5 rirods_0.2.0.tar.gz 213.3 KiB
0.2.0 rolling linux/noble R-4.5 rirods_0.2.0.tar.gz 213.2 KiB
0.2.0 rolling source/ R- rirods_0.2.0.tar.gz 187.3 KiB
0.2.0 latest linux/jammy R-4.5 rirods_0.2.0.tar.gz 213.3 KiB
0.2.0 latest linux/noble R-4.5 rirods_0.2.0.tar.gz 213.2 KiB
0.2.0 latest source/ R- rirods_0.2.0.tar.gz 187.3 KiB
0.2.0 2026-04-26 source/ R- rirods_0.2.0.tar.gz 187.3 KiB
0.2.0 2026-04-23 source/ R- rirods_0.2.0.tar.gz 187.3 KiB
0.2.0 2026-04-09 windows/windows R-4.5 rirods_0.2.0.zip 237.4 KiB
0.2.0 2025-04-20 source/ R- rirods_0.2.0.tar.gz 187.3 KiB

Dependencies (latest)

Imports

Suggests