This is an alternative docker image for accessing the Rucio client libraries with Python. The official docker image is based on Python 3.6. Use this image if you need a newer version of Python.
Rucio is a software framework that provides functionality to organize, manage, and access large volumes of scientific data using customisable policies. The data can be spread across globally distributed locations and across heterogeneous data centers, uniting different storage and network technologies as a single federated entity. Rucio offers advanced features such as distributed data recovery or adaptive replication, and is highly scalable, modular, and extensible. Rucio has been originally developed to meet the requirements of the high-energy physics experiment ATLAS, and is continuously extended to support LHC experiments and other diverse scientific communities.
General information and latest documentation about Rucio can be found at readthedocs or on our webpage.
For information on how to contribute to Rucio, please refer and follow our CONTRIBUTING guidelines.
This image provides the basic Rucio clients that can be used to communicate with any Rucio server. If you need to upload/download DIDs please check the experiment specific containers.
To run this container the Rucio server and authentication hosts and the credentials need to be configured. There are two ways to do it: either by using environment variables or by mounting a rucio.cfg file.
Starting the container using the environment with userpass authentication:
docker run \
-e RUCIO_CFG_RUCIO_HOST=https://server.rucio:443 \
-e RUCIO_CFG_AUTH_HOST=https://auth.rucio:443 \
-e RUCIO_CFG_AUTH_TYPE=userpass \
-e RUCIO_CFG_USERNAME=ddmlab \
-e RUCIO_CFG_PASSWORD=secret \
-e RUCIO_CFG_ACCOUNT=root \
--name=rucio-client \
-it -d rucio/rucio-clientsWith X509 authentication:
docker run \
-e RUCIO_CFG_RUCIO_HOST=https://server.rucio:443 \
-e RUCIO_CFG_AUTH_HOST=https://auth.rucio:443 \
-e RUCIO_CFG_AUTH_TYPE=x509 \
-e RUCIO_CFG_CLIENT_CERT=/opt/rucio/etc/usercert.pem \
-e RUCIO_CFG_CLIENT_KEY=/opt/rucio/etc/userkey.pem \
-e RUCIO_CFG_ACCOUNT=root \
-v /opt/rucio/etc/usercert.pem:/opt/rucio/etc/usercert.pem \
-v /opt/rucio/etc/userkey.pem:/opt/rucio/etc/userkey.pem \
--name=rucio-client \
-it -d rucio/rucio-clientsIf you already have a rucio.cfg you can also use that:
docker run \
-v /tmp/rucio.cfg:/opt/rucio/etc/rucio.cfg \
--name=rucio-client \
-it -d rucio/rucio-clientsAfter the container is started you can attach to it and start using the rucio commands:
docker exec -it rucio-clients /bin/bash
$ rucio pingEnvironment variables can be used to set values for the auto-generated rucio.cfg. The names are derived from the actual names in the configuration file. The available environment variables are:
RUCIO_CFG_ACCOUNTRUCIO_CFG_AUTH_HOSTRUCIO_CFG_AUTH_TYPERUCIO_CFG_CA_CERTRUCIO_CFG_CLIENT_CERTRUCIO_CFG_CLIENT_KEYRUCIO_CFG_CLIENT_VORUCIO_CFG_CLIENT_X509_PROXYRUCIO_CFG_COMMON_MULTI_VORUCIO_CFG_PASSWORDRUCIO_CFG_POLICY_LFN2PFN_ALGORITHM_DEFAULTRUCIO_CFG_POLICY_PACKAGERUCIO_CFG_POLICY_PERMISSIONRUCIO_CFG_POLICY_SCHEMARUCIO_CFG_POLICY_SUPPORTRUCIO_CFG_POLICY_SUPPORT_RUCIORUCIO_CFG_REQUEST_RETRIESRUCIO_CFG_RUCIO_HOSTRUCIO_CFG_USERNAME
If you are looking for support, please contact our mailing list [email protected] or join us on our slack support channel.